css/properties/typography
Prev: positioning | Up: properties | Next: motion
Rel: Typography & Color Guide, Cascade & Specificity
Ref: MDN Web Docs — CSS Reference
Tags: #public #web #css #properties #typography #index
Overview
Fonts, line height, wrapping, color, backgrounds, and OS color schemes.
Core (#tier/core)
- `font-family` — Ordered fallback list of font families.
- `font-size` — Sets text size; use
remso user browser font preferences are respected. - `line-height` — Sets line box height; always use unitless numbers so children inherit the ratio.
- `color` — Sets foreground text color and the value of
currentColor. - `color-scheme` — Declares supported OS themes, adapting native form controls, scrollbars, and
light-dark().
Standard (#tier/standard)
- `text-wrap` — Controls typographic line-breaking quality.
- `accent-color` — Tints native checkboxes, radio buttons, range sliders, and progress bars.
Linked from
- tuts/css/properties
- tuts/css/properties/motion
- tuts/css/properties/positioning
- tuts/css/properties/positioning/contain
- tuts/css/properties/typography/accent-color
- tuts/css/properties/typography/color
- tuts/css/properties/typography/color-scheme
- tuts/css/properties/typography/font-family
- tuts/css/properties/typography/font-size
- tuts/css/properties/typography/line-height
- tuts/css/properties/typography/text-wrap
Related notes
- tuts/css/properties Linked here; links to this page; shared tags: #css, #index, #properties, #web
- tuts/css/properties/motion Linked here; links to this page; shared tags: #css, #index, #properties, #web
- tuts/css/properties/positioning Linked here; links to this page; shared tags: #css, #index, #properties, #web
- tuts/css/properties/typography/accent-color Linked here; links to this page; shared tags: #css, #properties, #typography, #web
- tuts/css/properties/typography/color Linked here; links to this page; shared tags: #css, #properties, #typography, #web
- tuts/css/properties/typography/color-scheme Linked here; links to this page; shared tags: #css, #properties, #typography, #web
- tuts/css/properties/typography/font-family Linked here; links to this page; shared tags: #css, #properties, #typography, #web
- tuts/css/properties/typography/font-size Linked here; links to this page; shared tags: #css, #properties, #typography, #web
- tuts/css/properties/typography/line-height Linked here; links to this page; shared tags: #css, #properties, #typography, #web
- tuts/css/properties/typography/text-wrap Linked here; links to this page; shared tags: #css, #properties, #typography, #web