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.

It is documented as part of the CSS Fonts specification.

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

/* Syntax */
font-variant-position: normal;
font-variant-position: sub;
font-variant-position: super;

/* Global values */
font-variant-position: inherit;
font-variant-position: initial;
font-variant-position: revert;
font-variant-position: revert-layer;
font-variant-position: unset;
Limited availability Since 2020 89% global usage

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

117+
34+
9.1+
117+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC