minus-squarebytepursuits@programming.devOPtoWeb Development@programming.dev•Do you already use @layer in your code?linkfedilinkarrow-up2·edit-27 days agoI think it really helps if you dont like !important: @layer base, toggles; @layer toggles { .wprm-print-hide-recipe-nutrition .wprm-recipe-nutrition-label-section { display: none; } } instead of .wprm-print-hide-recipe-nutrition .wprm-recipe-nutrition-label-section { display: none !important; } I guess I answered my own question - I think its a neat feature and ill use it. linkfedilink
bytepursuits@programming.dev to Web Development@programming.devEnglish · 20 days agoDo you already use @layer in your code?plus-squaredeveloper.mozilla.orgexternal-linkmessage-square4fedilinkarrow-up122arrow-down10
arrow-up122arrow-down1external-linkDo you already use @layer in your code?plus-squaredeveloper.mozilla.orgbytepursuits@programming.dev to Web Development@programming.devEnglish · 20 days agomessage-square4fedilink
I think it really helps if you dont like !important:
@layer base, toggles; @layer toggles { .wprm-print-hide-recipe-nutrition .wprm-recipe-nutrition-label-section { display: none; } }
instead of
.wprm-print-hide-recipe-nutrition .wprm-recipe-nutrition-label-section { display: none !important; }
I guess I answered my own question - I think its a neat feature and ill use it.