Quantcast
Channel: User Ben Aston - Stack Overflow
Viewing all articles
Browse latest Browse all 56

Comment by Ben Aston on Should I use px or rem value units in my CSS?

$
0
0
While it is true that browser "zooming" technique changed over the years, having a relative font-size (like rem) is not about zooming per-se: it's about user style sheets and their effect. People with poor vision will sometimes set the text size to "Large" (or similar) via their browser settings. This sets the browser CSS stylesheet (cascading stylesheets) to increase the text size where it can. If your website stylesheet constrains text size to a pixel value, then this accessiblity feature is denied to those users.

Viewing all articles
Browse latest Browse all 56

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>