CSS · Typography

font-variant-numeric

Chooses numeric glyph styles. Tabular numerals keep columns aligned in tables.

Syntax
font-variant-numeric: tabular-nums

Example

Try it

More in this group

font-family font-size font-style font-weight letter-spacing line-height list-style overflow-wrap

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course