this post was submitted on 20 Mar 2024
699 points (97.3% liked)
Programmer Humor
19821 readers
2 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Trying to fix padding on an element that has "pad-left" and "padding" at the same time but you don't realize it
The way to fix a pad-bottom is simple! Just give the next element a negative margin-top!
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 😔
That's no big deal, just use a linter. It's also pretty obvious what the priority is in the inspector.