The font-variant-position property is used to enable typographic subscript and superscript glyphs. These are alternate glyphs designed within the same em-box as default glyphs and are intended to be laid out on the same baseline as the default glyphs, with no resizing or repositioning of the baseline. They are explicitly designed to match the surrounding text and to be more readable without affecting the line height.

  • Initial valuenormal
  • Applies toAll elements
  • InheritedYes
  • MediaVisual
  • Computed valueAs specified
  • AnimatableNo
  • CSS VersionCSS3
  • JavaScript
Formal syntax: normal | sub | super

font-variant-position: normal;
font-variant-position: sub;
font-variant-position: super;
  • normalNone of the features listed below are enabled.
  • subEnables display of subscript variants (OpenType feature: subs).
  • superEnables display of superscript variants (OpenType feature: sups).
.class {
   font-variant-position: super;

Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.