font-variant-position

A property that lets you use real, typographically correct subscript and superscript characters built into a font, rather than having the browser 'fake' them with small offsets.

Quick example

sub {
  /* Uses real subscript characters from the font */
  font-variant-position: sub;
}

Quick facts

Initial value
normal
Inherited
Yes
Applies to
all elements and text
Animation type
discrete

Values

normalsubsuper

font-variant-position Browser Support

Limited availability 89% global usage

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Not ready for production without a fallback.

117+
34+
9.1+
117+
ESC