terribleMia’s avatarterribleMia’s Twitter Archive—№ 6,908

      1. It’s not a fair question: specificity & origin work in much the same ways as rules of the cascade. And since the Author origins (normal & important) live roughly side-by-side, they act like specificity for most practical purposes. But I ❤️ what !important origins represent… TerribleMia/1192982359747940352
    1. …in reply to @TerribleMia
      The cascade isn’t just for *us* as authors: it’s there to balance the concerns of everyone involved. !important is part of creating that balance with a mirrored order: browsers users authors !authors !users !browsers We have default control, but we don’t have the final say.
  1. …in reply to @TerribleMia
    MDN shows the origin layers well: developer.mozilla.org/en-US/docs/Web/CSS/Cascade The Level 4 spec does a great job explaining *why*: drafts.csswg.org/css-cascade/#importance (the additional animation and transition layers are also clever, but a different story)