NullPointer@programming.dev to Programmer Humor@programming.dev · edit-25 months agoCSSi.imgur.comimagemessage-square34fedilinkarrow-up1717arrow-down120file-text
arrow-up1697arrow-down1imageCSSi.imgur.comNullPointer@programming.dev to Programmer Humor@programming.dev · edit-25 months agomessage-square34fedilinkfile-text
minus-squareIronfacebuster@lemmy.worldlinkfedilinkarrow-up8·5 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·5 months agoThe way to fix a pad-bottom is simple! Just give the next element a negative margin-top!
minus-squareIronfacebuster@lemmy.worldlinkfedilinkarrow-up2·5 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·5 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.