CSS · Properties — CSS Fonts

font-variant-position

The CSS font-variant-position property. Initial value: normal. Inherited.

Syntax
font-variant-position: normal | sub | super

Example

Try it

Notes

Media: visual. Applies to: allElementsAndText. Computed value: asSpecified.

More in this group

font font-feature-settings font-kerning font-language-override font-optical-sizing font-palette font-size-adjust font-synthesis

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