Ben Frain 10/4/2022

A CSS class-naming convention might still be your best choice

Read Original

The article advocates for using CSS class-naming conventions (like BEM, ECSS) as the most pragmatic approach for scalable CSS architecture. It presents a continuum of CSS methodologies from complete isolation (e.g., BEM) to complete abstraction (e.g., Tailwind), arguing that the extremes are simplest. While acknowledging modern features like Cascade Layers and Web Components, the author explains why a naming convention still solves fundamental organization problems they don't address.

A CSS class-naming convention might still be your best choice

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week