This content originally appeared on DEV Community and was authored by Jenna
What’s Your Preferred CSS Class Naming Convention?
- BEM (Block Element Modifier)
- SMACSS (Scalable and Modular Architecture for CSS)
- OOCSS (Object-Oriented CSS)
- Atomic CSS
- Others
There are various naming conventions for CSS classes, each with its own advantages. What conventions do you use, and why do you prefer them?
Are you more of a dash (-) or underscore (_) person when naming CSS classes?
This content originally appeared on DEV Community and was authored by Jenna
Jenna | Sciencx (2024-07-21T23:24:23+00:00) How Do You Name Your CSS Classes?. Retrieved from https://www.scien.cx/2024/07/21/how-do-you-name-your-css-classes/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.