NullPointer@programming.dev to Programmer Humor@programming.dev · edit-29 months agoCSSi.imgur.comimagemessage-square33fedilinkarrow-up1719arrow-down120file-text
arrow-up1699arrow-down1imageCSSi.imgur.comNullPointer@programming.dev to Programmer Humor@programming.dev · edit-29 months agomessage-square33fedilinkfile-text
minus-squareIronfacebuster@lemmy.worldlinkfedilinkarrow-up9·9 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·9 months agoThe way to fix a pad-bottom is simple! Just give the next element a negative margin-top!
minus-squareIronfacebuster@lemmy.worldlinkfedilinkarrow-up2·9 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·9 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.