CSS rotation and text distortion

微笑、不失礼 提交于 2019-12-07 08:51:00

问题


Creating a spreadsheet-style view and rotating the column causes the text to distort in Chrome + Firefox. I've managed to work around the Chrome issue using:

-webkit-backface-visibility: hidden;

However I'm left with Firefox looking like this :

Chrome (with fix)

Oddly IE 10 renders this perfectly - and Mac browsers do a better job too.

Any suggestions greatly appreciated


回答1:


As of Firefox v16, Mozilla implements the unprefixed backface-visibility property, which might work for you:

-webkit-backface-visibility: hidden;    
        backface-visibility: hidden;

IE10 will pick this up as well.

More information on the MDN backface-visibility



来源:https://stackoverflow.com/questions/17321608/css-rotation-and-text-distortion

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