CSS font-optical-sizing Property Reference

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

CSS font-optical-sizing Property Reference

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

Updated 2026-08-12

font-optical-sizing overview

The CSS font-optical-sizing 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-optical-sizing formal syntax
FieldValue
Formal syntaxauto | none
Initial valueauto
Applies toallElementsAndText
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Fonts
StatusStandard

Practical examples

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

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

Description

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

References

  1. MDN: font-optical-sizing
  2. MDN: CSS Properties Reference

Similar or alternative tools

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