Gollum@feddit.org to Programmer Humor@programming.dev · 1 month agoMe waiting for the AI to close the tag for mefeddit.orgimagemessage-square41fedilinkarrow-up1347arrow-down18
arrow-up1339arrow-down1imageMe waiting for the AI to close the tag for mefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 1 month agomessage-square41fedilink
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up1·1 month ago Learn CSS layers, use CSS layers. What are CSS layers? I’m legitimately curious.
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up3·1 month agoThey change the precedence rules so that you can import large frameworks at will and not have them disrupt your rules or each other. Basically, anything you apply in one layer has less precedence than what is applied on the next layers.
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up2·1 month agoSo I’m clear, are you referring to the @layer CSS at-rule? Or, something else?
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up2·1 month agoYes, I’m referring to the @layer rule.
What are CSS layers? I’m legitimately curious.
They change the precedence rules so that you can import large frameworks at will and not have them disrupt your rules or each other.
Basically, anything you apply in one layer has less precedence than what is applied on the next layers.
So I’m clear, are you referring to the
@layerCSS at-rule? Or, something else?Yes, I’m referring to the @layer rule.