font-variant-positionLimited availability
The font-variant-position CSS property sets whether to use alternate glyphs for subscript and superscript text.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
✕Not supportedup to 155
Current: 155Edge
✕Not supportedup to 154
Current: 154Firefox
1–33Not supported
34+Supportedsince Dec 1, 2014
Current: 157Safari
✕Not supportedup to 27
Current: 27MobileChrome Android
✕Not supportedup to 155
Current: 155Firefox Android
4–33Not supported
34+Supportedsince Dec 1, 2014
Current: 157Safari iOS
✕Not supportedup to 27
Current: 27How to use
Not supported in Chrome, Edge, Safari, Chrome Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: font-variant-position.
Feature detection
CSS · check before using
@supports (font-variant-position: initial) {
/* styles that rely on font-variant-position */
}
/* or in JavaScript */
if (CSS.supports("font-variant-position", "initial")) {
// use it
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (4). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| font-variant-position | 117 | 117 | 34 | 9.1 | 117 | 34 | 9.3 |
| font-variant-position.normal | 117 | 117 | 34 | 9.1 | 117 | 34 | 9.3 |
| font-variant-position.sub | ✕ | ✕ | 34 | ✕ | ✕ | 34 | ✕ |
| font-variant-position.super | ✕ | ✕ | 34 | ✕ | ✕ | 34 | ✕ |