CSS3 Bugs - Issues when using transform:rotate rules (Safari + Firefox)

余生长醉 提交于 2019-12-24 01:48:47

问题


I've got a Wordpress site with some CSS3 rules applied to some images that rotate the images and have a hover effect on rollover too. Problems are showing up in Safari & Firefox when you hover on and then off these images and I can't seem to locate any similar issues by people on the Interwebs.

See http://tinyurl.com/3n2eude and hover on and then off the images (the slightly rotated ones):

  • Member name goes blurry and then back to normal (Firefox)
  • Member image border becomes jagged (Firefox)
  • A big black line displays to the side of the member images sometimes when you hover back and forth between two member images (Safari)

If I disable the transform:rotate rules, it's all fine. So seems to be an issue with that rule. Just can't work out how to get around it.

Anybody got some ideas on how I could get around these or what might be causing it?

Thanks for any ideas you might have!


回答1:


Bit old of a question but that problem is related with rendering on browser (from what I understood). It cannot be fixed on CSS/HTML side. It must be fixed on user side.

Fix: http://www.askvg.com/how-to-enable-direct2d-directwrite-hardware-acceleration-in-mozilla-firefox/
More information about problem: CSS3 rotate - rendering problems in Firefox and Safari



来源:https://stackoverflow.com/questions/7487351/css3-bugs-issues-when-using-transformrotate-rules-safari-firefox

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