为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Css Flipping Element Working Improperly

  • 4 个回答
  • 1 人有此问题
  • 4 次查看
  • 最后回复者为 user1929

more options

I am a website developer for an internet security company and when i go to look at the website in any other browser it works fine i am only having issues with Firefox and did not know if there was a way to work on fixing it

I am a website developer for an internet security company and when i go to look at the website in any other browser it works fine i am only having issues with Firefox and did not know if there was a way to work on fixing it

所有回复 (4)

more options

Can you share a link to the page where you're seeing this issue so that we can see what's happening?

more options

You can check the Web Console for error messages.

You can also search the MDN website for more information about CSS properties in Firefox.

more options

I believe this is the same bug as:https://bugzilla.mozilla.org/show_bug.cgi?id=1201471 . Quoting one of the people in that bug:

I think our behavior matches the current spec, although I admit that the spec is very hard to follow. The problem is that the element with class="front" has no transform, which I believe means it does not participate in the 3D rendering context as described in https://drafts.csswg.org/css-transforms/#transformed-element-hierarchies . This, in turn, means that backface-visibility shouldn't do anything. That said, I think the spec is a mess and it's clear neither than this is actually what the spec says nor that it's what the spec means to say. Adding 'transform: rotateX(0deg)' to the .front, .back rule fixes this.

Testing on your page, I can confirm that adding this CSS rule:

.front {
	transform: rotateX(0);
}

fixes the problem.