932
you are viewing a single comment's thread
view the rest of the comments
[-] darthfabulous42069@lemm.ee 26 points 1 year ago

You're never supposed to use pixels in CSS anyway; you should bare minimum use percentages to account for different screen sizes to make the designs responsive and not look terrible on different screen sizes.

[-] DrQuint@lemmy.world 15 points 1 year ago* (last edited 1 year ago)

Except margins of inner elements and paddings of course.

[-] NatoBoram@lemm.ee 4 points 1 year ago

Use em for these!

[-] MagicShel@programming.dev 1 points 1 year ago

The new unit of measure is EM. Which is related to font size somehow. Idk, I might be outdated already. I ran screaming from front end years ago and I won't even cop to being a full stack developer these days. I'll lead full stack projects, but I'm not doing the FE dev.

this post was submitted on 28 Jul 2023
932 points (100.0% liked)

Programmer Humor

19512 readers
243 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS