Re:PX or REM in CSS? Just Use REM
by cuu508 on Saturday December 03, 2022 @05:57PM
(#33848362)
Wouldn't users also want legible icons, pictures, margins, etc.?
[ Parent
| on HN ]
Most pictures can be shrunk significantly and remain legible. They don't need to be zoomed in on.
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.
Re:PX or REM in CSS? Just Use REM
by muspimerol on Sunday December 04, 2022 @07:34AM
(#33853105)
No, not really. The browser setting is for default _font_ size for a reason. People want legible text. Design elements like icons, pictures, margins are generally decorative and not functional. If a user wants to set a default _zoom_ level, then they can set that as well. As I said, these are two different things.