Syntax - Tasty Web Development Treats cover image

Tasty Treats — Rems VS Ems, Remote Work, Making Money, Getting good at Design + more! 🍬

Syntax - Tasty Web Development Treats

00:00

How to Scale Your Media Queries

REM's is all based on the HTML tag font size. So it doesn't do any of this multiplying. It stands for root M's. And that's exactly what I do: I set the font size to be 10 PX. On my HTML tag. Then I always know that if I need something to be 20 pixels, I set it to two REMs and I sort of set it the reason why I set it as 10 PXs so that to maintain my sanity in terms of trying to convert over at the end of the day.

Play episode from 05:12
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app