#bem

[ follow ]
#css
fromSmashing Magazine
4 days ago
Web development

CSS @scope: An Alternative To Naming Conventions And Heavy Abstractions - Smashing Magazine

@scope enables true scoping of CSS to components, reducing style leakage and the need for complex naming conventions and specificity wars.
fromSmashing Magazine
4 days ago
Web development

CSS @scope: An Alternative To Naming Conventions And Heavy Abstractions - Smashing Magazine

Rigid class naming alone cannot prevent CSS leakage; true scoping like the @scope rule is needed to make styles maintainable for complex, interactive front ends.
[ Load more ]