Scalable Modular Architecture for CSS (SMACSS)
Course on Master.dev by Jonathan Snook
- 5 h 52 min
- LengthVideo runtime
- Subscription
- Price modelMaster.dev plan
- 33
- Lessons
- Feb 2015
- Published18 Feb 2015
About this course
Description from Master.dev
CSS architecture expert Jonathan Snook shares his experience building large sites with large teams to make your CSS more maintainable using his Scalable Modular Architecture for CSS (SMACSS) methodology. Learn categorization and naming convention - things that might seem simple at first but can actually be quite difficult. Then go deeper with a number of concepts and examples that help demonstrate when to create class rules instead of element rules, how to limit depth of applicability, and how to manage visual states.
What it covers
33 lessons
- 01
Categorization
- Introduction
- Why SMACSS
- Base & Layout
- Module
- State & Themes
- Exercise 1: Layout Styles
- Exercise 1: Solution
- 02
Naming Convention
- Base and Layout Names
- Module and Module Variation Names
- State Names
- Theme Names
- Using Third Party Libraries
- Prefixing for Versioning
- Thoughts on CSS Workflow
- Naming Convention Recap
- Exercise 2: Module Class Names
- 03
Decoupling CSS from HTML
- When is it Base?
- Depth of Applicability
- Decoupling CSS from HTML
- The Owl Selector
- Exercise 3: Creating a SMACSS Navigation
- Exercise 3: Solution
- 04
State-based Design
- State Representation
- Media Query State
- CSS Panic
- Preprocessors
- Extending Classes
- Prototyping and Style Guides
- Proto Engine
- Documentation Generators
- Exercise 4: Templating
- Exercise 4: Solution
- Course Summary
Similar HTML and CSS courses
Same topic, nearest in length, up to three from any one provider.
Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.