NullPointer to Programmer Humor • edit-24 months agoCSSi.imgur.comimagemessage-square34arrow-up1722arrow-down120file-text
arrow-up1702arrow-down1imageCSSi.imgur.comNullPointer to Programmer Humor • edit-24 months agomessage-square34file-text
minus-square@[email protected]linkfedilink9•4 months agoTrying to fix padding on an element that has “pad-left” and “padding” at the same time but you don’t realize it
minus-square@[email protected]linkfedilinkEnglish7•4 months agoThe way to fix a pad-bottom is simple! Just give the next element a negative margin-top!
minus-square@[email protected]linkfedilink2•4 months agoI 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 😔
minus-square@[email protected]linkfedilinkEnglish1•3 months agoThat’s no big deal, just use a linter. It’s also pretty obvious what the priority is in the inspector.
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.