NullPointer to Programmer Humor · edit-28 months agoCSSi.imgur.comimagemessage-square34fedilinkarrow-up1722arrow-down120file-text
arrow-up1702arrow-down1imageCSSi.imgur.comNullPointer to Programmer Humor · edit-28 months agomessage-square34fedilinkfile-text
minus-squareIronfacebuster@lemmy.worldlinkfedilinkarrow-up9·8 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-squarediffcalculus@lemmy.worldlinkfedilinkEnglisharrow-up7·8 months agoThe way to fix a pad-bottom is simple! Just give the next element a negative margin-top!
minus-squareIronfacebuster@lemmy.worldlinkfedilinkarrow-up2·8 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-squarefidodo@lemmy.worldlinkfedilinkEnglisharrow-up1·8 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.