CSSArchitecture
Everything on SkillVeris tagged CSSArchitecture — collected across the glossary, study notes, blog, and cheat sheets.
8 resources across 1 library
Interview Questions(8)
What Is BEM Methodology and Why Use It in CSS?
BEM (Block, Element, Modifier) is a CSS naming convention that structures class names as block__element--modifier to make every class flat, self-documenting, a…
What Are CSS Cascade Layers (@layer) and Why Do They Matter?
CSS cascade layers, declared with @layer, let a developer group style rules into explicitly ordered buckets so that layer order — not selector specificity — de…
How Does Native CSS Nesting Syntax Work?
Native CSS nesting lets you write a selector inside another selector’s rule block, using the & symbol to reference the parent selector explicitly, so related s…
How Do CSS Custom Media Queries (@custom-media) Work?
CSS custom media queries let you define a named, reusable media condition once with @custom-media --name (condition), and then reference it by name across your…
What Is the Atomic CSS Approach?
Atomic CSS is a styling methodology where each class maps to exactly one CSS declaration — like `.mt-4 { margin-top: 1rem; }` — so UI is composed by combining…
What Is Utility-First CSS and How Does It Differ From Semantic CSS?
Utility-first CSS is a workflow where a framework like Tailwind provides a large, pre-defined library of small utility classes (spacing, color, layout, typogra…
What Are CSS Modules and How Do They Solve Global Scope Problems?
CSS Modules are CSS files processed by a build tool so that every class name is automatically scoped to the specific component that imports it, generating uniq…
What Are the Tradeoffs of Using Styled-Components (CSS-in-JS)?
Styled-components lets you write actual CSS inside JavaScript using tagged template literals attached to a component, giving automatic scoping, dynamic styling…