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
| Field | Value |
|---|---|
| Formal syntax | normal | compact |
| Initial value | normal |
| Applies to | allElements |
| Inherited | Yes |
| Percentages | no |
| Computed value | asSpecified |
| Animation type | notAnimatable |
| Media | visual |
| Specification group | MathML |
| Status | Experimental |
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.
CSS
.reset-example {
math-shift: initial;
}
.inherit-example {
math-shift: inherit;
}
@supports (math-shift: initial) {
.supported {
math-shift: initial;
}
}