3 ms·
Every browser in use today has a default stylesheet that injects styles into every site (if not explicitly overriden). Even for sites that have their own styles
by ComputerGuru 9y ago
Every browser in use today has a default stylesheet that injects styles into every site (if not explicitly overriden). Even for sites that have their own stylesheets.
It's just that a) they're really ugly, and b) the mobile ones are ironically not mobile optimized.
- rmrfrmrf 9y agoThey’re not necessarily overridden. Percentages and ems are units that are derived relative to their inherited style. If you make your browser default have a base font of 24px instead of 14px and someone back in 2010 made their site css defined as html { font-size: 2em; } Then your site’s 28px default font size that worked just fine on every browser now becomes 48px on mobile and breaks everything.
- ComputerGuru 9y agoThat’s actually the original purpose behind the relative sizing, so people could choose a base text size that best suited them.
- Moru 9y agoThat was before the pixel-perfect designers got full control over how I read stuff on my own computer :-)