【问题标题】:CSS transition and perspective doesn't give same result in chrome/ie and firefoxCSS 过渡和透视在 chrome/ie 和 firefox 中没有给出相同的结果
【发布时间】:2014-06-30 15:36:40
【问题描述】:

我正在使用 CSS 透视图,但在 firefox 和 chrome/ie 之间没有得到相同的结果。 我希望它像在 chrome/ie 中一样工作(翻转面板在关闭时不会越过非翻转猫)。

这里是我为这个问题制作的 codepen.io:http://codepen.io/mourtazag/pen/cdAuL

谢谢!

【问题讨论】:

标签: html css transform css-transforms


【解决方案1】:

您可能没有使用正确的供应商前缀。

-khtml-(Konqueror,非常老的 Safari)

-moz- (火狐)

-o-(歌剧)

-ms- (Internet Explorer)

-webkit- (Safari, Chrome)

并且不要忘记使用默认代码,即没有供应商前缀的代码。

【讨论】:

  • 我认为我使用了正确的前缀,即 -moz- one for firefox ! :(
猜你喜欢
  • 1970-01-01
  • 2011-10-05
  • 2012-11-27
  • 2019-03-20
  • 2011-12-09
  • 1970-01-01
  • 2015-07-18
  • 2017-09-17
  • 2014-09-30
相关资源
最近更新 更多