CSS math-style Property Reference

The CSS math-style property is a standard property in MathML. Review its formal syntax, computed behavior, and practical declarations.

CSS math-style Property Reference

The CSS math-style property is a standard property in MathML. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

math-style overview

The CSS math-style property is a standard property in MathML. 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

math-style formal syntax
FieldValue
Formal syntaxnormal | compact
Initial valuenormal
Applies toallElements
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typenotAnimatable
Mediavisual
Specification groupMathML
StatusStandard

Practical examples

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

math-style live example
CSS .reset-example { math-style: initial; } .inherit-example { math-style: inherit; } @supports (math-style: initial) { .supported { math-style: initial; } }

Description

The CSS math-style property is a standard property in MathML. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: math-style
  2. MDN: CSS Properties Reference

Similar or alternative tools

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