News for hackers. Stuff that matters.
Re:No CSS Club – because no JavaScript was not hardcore enough by dmix on Sunday July 16, 2023 @09:29AM (#36746776)
Everyone jumped on the only-use-rem train when mobile started dominating because it provides relative units that scale better rather than absolute pixels.

In practice it doesn't really mean much outside of blog-like text so when doing layouts it's more of just a standard everyone agrees on using everywhere because it's easier to stick to one for consistencies sake and it does the job. I don't think many frontend devs ever test zooming text using a browser anyway, their main concern is variations in screen sizes, basically device variation not manually zooming text. But I get the arguments to limit it to text.

Re:No CSS Club – because no JavaScript was not hardcore enough by afiori on Sunday July 16, 2023 @03:04PM (#36750366)
Modern browsers zoom by increasing the CSS pixel size, so now all units are relative
Re:No CSS Club – because no JavaScript was not hardcore enough by GoblinSlayer on Monday July 17, 2023 @10:00AM (#36758339)
Zoom can use different algorithms, it's a setting.