CSS math-shift Property Reference

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

CSS math-shift Property Reference

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

Updated 2026-08-12

math-shift overview

The CSS math-shift property is a experimental 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-shift formal syntax
FieldValue
Formal syntaxnormal | compact
Initial valuenormal
Applies toallElements
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typenotAnimatable
Mediavisual
Specification groupMathML
StatusExperimental

Practical examples

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

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

Description

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

References

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

Similar or alternative tools

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