siriusmart@lemmy.world to Programmer Humor@lemmy.ml · 2 years agoNoooooo my divlemmy.worldimagemessage-square15fedilinkarrow-up1317arrow-down111
arrow-up1306arrow-down1imageNoooooo my divlemmy.worldsiriusmart@lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square15fedilink
minus-squareXylight (Photon dev)@lemmy.xylight.devlinkfedilinkEnglisharrow-up2·2 years agofun fact: !important !important is essentially !importanter, and you can go even further if you want a hell of a css hierarchy
minus-squarewhatisallthis@lemm.eelinkfedilinkarrow-up3·2 years agoYou can also just write your class again as some sort of additional specificity like .myclass.myclass.myclass { color:red !important !important; }
minus-squareFUsername@feddit.delinkfedilinkarrow-up2·2 years agoThe fact that this and the prior comments work don’t make like CSS more tbh
fun fact:
!important !important
is essentially!importanter
, and you can go even further if you want a hell of a css hierarchyYou can also just write your class again as some sort of additional specificity like
.myclass.myclass.myclass { color:red !important !important; }
The fact that this and the prior comments work don’t make like CSS more tbh
This… exists? This is horrible.