A short CSS lesson for designers on the font-variant shorthand and its sub-properties, covering small caps, numeric glyph options and ligature controls for web typography. It is aimed at beginners learning basic HTML and CSS.
What you’ll learn
✓Set small caps on web text with the font-variant property
✓Choose lining, oldstyle, proportional or tabular figures with font-variant-numeric
✓Control common, historical and contextual ligatures with font-variant-ligatures