702
CSS (i.imgur.com)
submitted 8 months ago* (last edited 8 months ago) by nullPointer@programming.dev to c/programmer_humor@programming.dev

easy to get into trouble for sure.

you are viewing a single comment's thread
view the rest of the comments
[-] Ironfacebuster@lemmy.world 9 points 7 months ago

Trying to fix padding on an element that has "pad-left" and "padding" at the same time but you don't realize it

[-] diffcalculus@lemmy.world 7 points 7 months ago

The way to fix a pad-bottom is simple! Just give the next element a negative margin-top!

[-] Ironfacebuster@lemmy.world 2 points 7 months ago

I feel like I've actually done that, but it was only because I had to have the padding or else everything broke

I'm glad I'm not alone ๐Ÿ˜”

[-] fidodo@lemmy.world 1 points 7 months ago

That's no big deal, just use a linter. It's also pretty obvious what the priority is in the inspector.

this post was submitted on 20 Mar 2024
702 points (97.3% liked)

Programmer Humor

19564 readers
659 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