lufyLegend css支持

#angryBirds_game canvas{

  width: torem(640)!important;
  height: torem(700)!important;
  margin: 0 auto;
}
/*canvas 的大小一定要固定,这样在移动端,canvas的大小就会适配,init函数将canvas按传到里面的长和宽将canvas的x轴y轴坐标分成份,所以
* x坐标和yz坐标和设计图里面对应上了
*/
原文地址:https://www.cnblogs.com/tutumissed/p/8276461.html