Gollum@feddit.org to Programmer Humor@programming.dev · 10 days agoMe waiting for the AI to close the tag for mefeddit.orgimagemessage-square41linkfedilinkarrow-up1345arrow-down18
arrow-up1337arrow-down1imageMe waiting for the AI to close the tag for mefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 10 days agomessage-square41linkfedilink
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up1·10 days ago Learn CSS layers, use CSS layers. What are CSS layers? I’m legitimately curious.
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up3·10 days 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·10 days agoSo I’m clear, are you referring to the @layer CSS at-rule? Or, something else?
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up2·10 days 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
@layer
CSS at-rule? Or, something else?Yes, I’m referring to the @layer rule.