How does SMACSS (Scalable and Modular Architecture for CSS) categorize its styles?

  • By alphabetical order
  • By color
  • By position in the HTML
  • By specificity
SMACSS categorizes its styles by specificity. In SMACSS, styles are organized into five categories: Base, Layout, Module, State, and Theme. This categorization helps in creating a scalable and maintainable CSS architecture by defining how styles should be applied and structured.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *