Skip to content

Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

Chapter 08

Modern CSS

Features that changed how CSS is written: custom properties and @property, :has(), nesting, @scope, logical properties, and shipping new CSS safely with feature queries.
  1. 010How do custom properties work — cascade, inheritance, fallbacks, and invalid values?Coremedium
  2. 020What does @property add over a plain custom property?medium
  3. 030What does :has() make possible, and what are its limits?medium
  4. 040How does native CSS nesting work, and how does it differ from Sass?medium
  5. 050What does @scope do, and how is scoping proximity different from specificity?hard
  6. 060What are logical properties, and why use margin-inline over margin-left?easy
  7. 070How do you ship new CSS safely — forgiving parsing and @supports?medium