Superscripts & subscripts

font-variant-position

Instructs the browser to use special glyphs for superscripts and subscripts.

Property values

This property is only meaningful if the element's font has alternate glyphs for superscript and subscript forms.

Specify one of these:

sub Use the alternate glyphs for subscripts
super Use the alternate glyphs for superscripts
normal Use regular glyphs

Examples

sub {
font-variant-position: sub;
}
sup {
font-variant-position: super;
}
font-variant-position
0

style > glyph > font-variant-positionSuperscripts & subscripts

🔗 🔎