Inaccurate rem units in Opera12 and IE9

后端 未结 2 457
别那么骄傲
别那么骄傲 2021-02-05 18:47

Although I\'m not new to the idea of responsive design I have experienced a very troublesome thing...

I have decided to completely move to rem units, but I

相关标签:
2条回答
  • 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...

    0 讨论(0)
  • 2021-02-05 19:38

    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?

    0 讨论(0)
提交回复
热议问题