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

    1. Dear CSS, I want 0-specificity selectors. I love projects like jensimmons github.com/mozdevs/cssremedy - but would extra love if they were truly treated as default settings. Like browser styles, but my own, easy to override with any selector at all.
  1. …in reply to @TerribleMia
    Like SassCSS !default, but for CSS selectors or properties…
    1. …in reply to @TerribleMia
      Turns out the :where() selector is already proposed, and should handle this! Let's do it. :) developer.mozilla.org/en-US/docs/Web/CSS/:where
      1. …in reply to @TerribleMia
        My general rule is that the entire tooling/config layer of a project should have 0 specificity. It's the best way to avoid Bootstrap Override Hell™. I normally enforce that by building tools/config in SassCSS with no direct output - but that's less ideal for normalization…