CSS

NullPointer@programming.dev to Programmer Humor@programming.dev – 696 points –
i.imgur.com

easy to get into trouble for sure.

34

You are viewing a single comment

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.