Why CSS3 perspective is not working in firefox

拟墨画扇 提交于 2019-12-12 11:33:01

问题


I am trying to create a 3d flipcard . But perspective property is not working in firefox v21 .

see the code http://codepen.io/prantor19/pen/cgoKm

can you explain why?


回答1:


you forgot px after perspective value!!

like this:

  -webkit-perspective:600px;
  -moz-perspective:600px;
  perspective:600px;



回答2:


-webkit-perspective:600;

-webkit-perspective:600px;

perspective:600px;

'perspective:600px;' is ok in chrome,but 'perspective:600;' has wrong with it.



来源:https://stackoverflow.com/questions/16751007/why-css3-perspective-is-not-working-in-firefox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!