
Use CSS :has() when a component needs to respond to its contents
CSS :has() lets a component match conditions in its contents or nearby structure. Explore a card example and test the selector without confusing style with behaviour.

CSS :has() lets a component match conditions in its contents or nearby structure. Explore a card example and test the selector without confusing style with behaviour.

Tabular numerals give digits equal widths when the font supports them. Use them for changing values and pair them with deliberate numeric alignment.

Use CSS isolation to contain a component’s blending effect, with a small example and checks for backgrounds, stacking and readability.

Understand what the HTML output element does in a calculator form, what it does not submit, and how to design a clear result experience.

Drag-and-drop interfaces need an alternative that works without dragging. Buttons or a move menu can offer the same result more accessibly.