为什么CSS3透视图不工作在Firefox [英] Why CSS3 perspective is not working in firefox

查看:168
本文介绍了为什么CSS3透视图不工作在Firefox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个3d闪光卡。但透视属性在firefox v21中不起作用。



请参阅代码 http://codepen.io/prantor19/pen/cgoKm



你能解释一下为什么吗?



像这样:


$

b $ b

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


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?

解决方案

you forgot px after perspective value!!

like this:

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

这篇关于为什么CSS3透视图不工作在Firefox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆