Inaccurate rem units in Opera12 and IE9

十年热恋 提交于 2019-12-03 03:14:50

So... I have switched back to em untits. Except few (minor) glitches in IE9 (which are well known subpixel problems) everything is perfect in ALL browsers. Moreover, as before rem issue, I have no problem with media queries which also use em units. Sadly, it seems that rem units are not yet stable enough to use them across existing web browsers. Case closed...

If you're wishing to continue use 1rem = 10px have you tried –

html {
    font-size: 10px; 
}

instead of

html {
    font-size: 62.5%; 
}

does this solve the issue?

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