Chapter 09
Typography, colour, and motion
The finishing layer: how fonts are matched, how text wraps and truncates, modern colour spaces and dark mode, and CSS transitions and animations.- 010How does the browser pick a font face, and when does it synthesise bold or italic?medium
- 020How do you truncate text with an ellipsis on one line or several?easy
- 030What do
oklch()and wide-gamut colour spaces give you overrgb()andhsl()?medium - 040How do
color-mix()and relative colour syntax work?medium - 050How do
color-schemeandlight-dark()support dark mode?medium - 060How do CSS transitions work, and how do you transition
displayor an element's entry?Coremedium - 070How do
@keyframesanimations differ from transitions?medium