News for hackers. Stuff that matters.
Re:PX or REM in CSS? Just Use REM by layer8 on Sunday December 04, 2022 @12:26AM (#33850883)
It depends on the icons and pictures. With pixel-based graphics, you want to keep those 1:1 for crispness, and not get a blurry interpolation due to zooming, at least on lower-DPI screens. And the custom base font size may just be e.g. two pixels larger than the default for comfortable reading.
Re:PX or REM in CSS? Just Use REM by IshKebab on Sunday December 04, 2022 @05:07AM (#33852228)
That seems like a very weak reason. High DPI screens are common now, as is SVG. And slightly blurry pixels is hardly the end of the world is it?

If that's the only problem I'll stick with px.

Re:PX or REM in CSS? Just Use REM by layer8 on Sunday December 04, 2022 @09:38AM (#33854049)
Low-DPI screens (e.g. Full-HD) are common on desktop systems and laptops, and will remain so for the foreseeable future, due to their lower cost. Pixel-based icons look better on those than vector icons. “Slightly blurry” is the bane of the modern web on those displays. I’m just telling you there’s a reason why some people prefer increasing only the text size — it makes for a better UX.