this post was submitted on 28 Jul 2023
924 points (96.3% liked)

Programmer Humor

19488 readers
1129 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
[–] [email protected] 19 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.

[–] [email protected] 15 points 1 year ago* (last edited 1 year ago) (1 children)

Except margins of inner elements and paddings of course.

[–] [email protected] 4 points 1 year ago

Use em for these!

[–] [email protected] 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.