font-variant-position
The font-variant-position property specifies font variants for subscript and superscript.
Formal Syntax
normal | sub | super
JavaScript Access
// Access via element.style
element.style.fontVariantPosition = 'normal';
Browser Support
| Feature | Chrome | Firefox | Safari | Edge |
|---|---|---|---|---|
| font-variant-position | — | 34 | 9.1 | — |
| normal | — | 34 | 9.1 | — |
| sub | — | 34 | 9.1 | — |
| super | — | 34 | 9.1 | — |
Related Properties
- font
- font-family
- font-feature-settings
- font-kerning
- font-language-override
- font-optical-sizing
- font-palette
- font-size
- font-size-adjust
- font-style
- font-synthesis
- font-synthesis-small-caps
- font-synthesis-style
- font-synthesis-weight
- font-variant
- font-variant-alternates
- font-variant-caps
- font-variant-east-asian
- font-variant-emoji
- font-variant-ligatures
- font-variant-numeric
- font-variation-settings
- font-weight
- font-synthesis-position 🧪
- font-width 🧪
- font-stretch 🗑️