News for hackers. Stuff that matters.
Re:PX or REM in CSS? Just Use REM by csande17 on Saturday December 03, 2022 @09:05PM (#33849803)
Unfortunately, if web developers follow the advice from the article to use rem units everywhere, they'll get a bigger site.
Re:PX or REM in CSS? Just Use REM by ehutch79 on Sunday December 04, 2022 @10:28AM (#33854490)
You are correct!

REM for text, PX for layout

But if you're going to choose one, use rem with the body text-size hack.