math-shift
Newly availableSince 202591% of users
A property for MathML that determines whether superscripts should be shifted upwards more aggressively ('normal') or kept closer to the baseline ('compact').
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since December 2025. Widely available around June 2028.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
normal- Inherited
- Yes
- Applies to
- all elements
- Animation type
- notAnimatable
Quick example
math {
/* Keeps superscripts closer to the baseline for tight spaces */
math-shift: compact;
}Values
normalcompactmath-shift browser support
BaselineNewly availableSince 2025 this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.Works in all modern browsers. May need a fallback for older browsers.
Usage91%of people can use this9% use a browser without it.
Browsers
109+
146+
26.2+
109+Mobile
109+Android
146+Android
26.2+iOS