UNPKG

@amsterdam/design-system-css

Version:

Stylesheets for all components from the Amsterdam Design System and some general utilities. Use it to apply the visual design of the City of Amsterdam to your HTML elements or non-React components.

20 lines (12 loc) 657 B
<!-- @license CC0-1.0 --> # Description List A collection of terms and their descriptions. ## Design In a narrow window, descriptions appear below their term. After that, they display in a two-column layout. The column for the terms is as wide as the longest term, without wrapping. Its width can be adjusted to be ‘large’ (50%), ‘medium’ (33%), or ‘small’ (20%), which also allows the terms to wrap. The term is set in bold text. ## References - [MDN: `<dl>`: The Description List element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl) - [WCAG: Using description lists](https://www.w3.org/WAI/WCAG22/Techniques/html/H40)