CSS font-variant-position Property Reference

The CSS font-variant-position property is a standard property in CSS Fonts. Review its formal syntax, computed behavior, and practical declarations.

CSS font-variant-position Property Reference

The CSS font-variant-position property is a standard property in CSS Fonts. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

font-variant-position overview

The CSS font-variant-position property is a standard property in CSS Fonts. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

font-variant-position formal syntax
FieldValue
Formal syntaxnormal | sub | super
Initial valuenormal
Applies toallElementsAndText
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Fonts
StatusStandard

Practical examples

These declarations demonstrate valid ways to set font-variant-position. The initial and inherit global keywords remain available even when a property-specific value is preferable.

font-variant-position live example
CSS .reset-example { font-variant-position: initial; } .inherit-example { font-variant-position: inherit; } @supports (font-variant-position: initial) { .supported { font-variant-position: initial; } }

Description

The CSS font-variant-position property is a standard property in CSS Fonts. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: font-variant-position
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies