Post update: Pixel‐parity rems — tweak the base font size to scale everything in proportion at breakpoints: http://aralbalkan.com/notes/pixel-parity-rems/ …
@ppk Ooh :) Just what impact setting the root font size in pixels instead of percentages has on being able to scale text in browsers.
-
-
@aral You don't want to set the root font size, right? Just use it with rem units. rems are not supported by IE8 and lower. -
@ppk I tweak the root not size at breakpoints to make the whole design (specified in rems) scale up and down in proportion. -
@aral And I found no problems in supporting desktop browsers. So I guess it should work. -
@ppk ‘Thanks ppk, I appreciate it’ is what I meant to write, of course :) -
@aral I just think you should set the HTML element's font-size in pixels, just to be safe. But you were doing that already. -
@ppk Re: ‘just to be safe’ — do you know what could go wrong otherwise? -
@aral Anything can go wrong. px is the root unit, so keep to that one. But it's just a safety measure. -
@ppk Gotcha :) - 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.