font-variant-alternates
The font-variant-alternates property specifies alternate font glyphs.
Formal Syntax
normal | [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ]
JavaScript Access
// Access via element.style
element.style.fontVariantAlternates = 'normal';
Browser Support
| Feature | Chrome | Firefox | Safari | Edge |
|---|---|---|---|---|
| font-variant-alternates | 111 | 34 | 9.1 | 111 |
| annotation | 111 | 34 | 16.2 | 111 |
| character_variant | 111 | 34 | 16.2 | 111 |
| historical-forms | 111 | 34 | 9.1 | 111 |
| normal | 111 | 34 | 9.1 | 111 |
| ornaments | 111 | 34 | 16.2 | 111 |
| styleset | 111 | 34 | 16.2 | 111 |
| stylistic | 111 | 34 | 16.2 | 111 |
| swash | 111 | 34 | 16.2 | 111 |
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-caps
- font-variant-east-asian
- font-variant-emoji
- font-variant-ligatures
- font-variant-numeric
- font-variant-position
- font-variation-settings
- font-weight
- font-synthesis-position ๐งช
- font-width ๐งช
- font-stretch ๐๏ธ