this post was submitted on 28 Jul 2023
982 points (99.9% liked)

Programmer Humor

19572 readers
1682 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] darthfabulous42069@lemm.ee 27 points 1 year ago (2 children)

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 16 points 1 year ago* (last edited 1 year ago) (1 children)

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.