Bug与CSS -moz透视 [英] Bug with CSS -moz-perspective

查看:135
本文介绍了Bug与CSS -moz透视的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个错误的透视属性..
如果你看到这JSFiddle代码在Chrome浏览器(v33)和Mozilla Firefox(v28),我有他们之间的区别..
如果我评论的代码,我可以重现这个错误代码:


$ b b

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

如何在两个浏览器上都有相同的结果?


$

解决方案

您需要设置: position:absolute 到#header-cube-container 而不是#header-cube


I have a mistake with the perspective property.. If you see this JSFiddle code on Google Chrome (v33) and Mozilla Firefox (v28), I have a difference between them.. I can reproduce this error on Chrome if I comment the code :

-webkit-perspective: 2500px;
-moz-perspective: 2500px;
perspective: 2500px;

How can I have the same result on the both browsers ?

Thank you all for helping and sorry for my bad english.

解决方案

You need to set : position:absolute to #header-cube-container instead of #header-cube.

这篇关于Bug与CSS -moz透视的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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