Blogs

CSS Cascade Layers Vs. BEM Vs. Utility Classes: Specificity Control

Smashingmagazine

CSS can be unpredictable — and specificity is often the culprit. Victor Ayomipo breaks down how and why your styles might not behave as expected, and why understanding specificity is better than relying on `!important`.

Visit Site

Blogs Smashingmagazine

BlogsIntegrating CSS Cascade Layers To An Existing Project — Smashing MagazineSmashingmagazine BlogsSmashing Animations Part 1: How Classic Cartoons Inspire Modern CSSSmashingmagazine BlogsCSS Intelligence: Speculating On The Future Of A Smarter LanguageSmashingmagazine BlogsSmashing Animations Part 5: Building Adaptive SVGs With , , And CSS Media QueriesSmashingmagazine BlogsSmashing Animations Part 7: Recreating Toon Text With CSS And SVGSmashingmagazine BlogsSmashing Animations Part 6: Magnificent SVGs With And CSS Custom PropertiesSmashingmagazine BlogsEmpower Your Team with Policy as CodePulumi BlogsConnect Any Git or Mercurial Repo to Pulumi with Custom VCSPulumi BlogsIaC Best Practices: Implementing RBAC and SecurityPulumi BlogsClever Polypane Debugging Features I'm LovingCss Tricks BlogsPosition Sticky and Table HeadersCss Tricks BlogsPseudo-Randomly Adding Illustrations with CSS | CSS-TricksCss Tricks BlogsSystem UIconsCss Tricks BlogsThe failed promise of Web ComponentsCss Tricks BlogsCSS Hell | CSS-TricksCss Tricks BlogsCreating Color Themes With Custom Properties, HSL, and a Little calc()Css Tricks BlogsServer-Side React RenderingCss Tricks BlogsSvelte for the Experienced React DevCss Tricks BlogsMultiple Class / ID and Class SelectorsCss Tricks BlogsScaling Organizations Should Consider Building a Website Backed by a CRM PlatformCss Tricks