:where()
Use expressive selectors without adding specificity weight. This is one of the safest modern CSS tools for architecture.
Modern CSS
Modern CSS features reduce defensive selectors, heavy naming systems, and JavaScript-driven styling. Used well, they make LSCSS simpler and clearer.
Use expressive selectors without adding specificity weight. This is one of the safest modern CSS tools for architecture.
Style components based on their contents or state without reaching for extra JavaScript hooks too early.
Make components respond to their container instead of the viewport. This supports more portable UI patterns.
LSCSS uses modern CSS to reduce architectural friction. The goal is not more abstraction. The goal is clearer, simpler CSS with fewer override battles.