math-shift
A property for MathML that determines whether superscripts should be shifted upwards more aggressively ('normal') or kept closer to the baseline ('compact').
Usage example
math {
/* Keeps superscripts closer to the baseline for tight spaces */
math-shift: compact;
} Initial value
normal
Inherited
Yes
Applies to
allElements
Animation type
notAnimatable
Values
normalcompact math-shift Browser Support
Widely available Since 2023 83% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2023.
Safe to use without fallbacks.
109+
146+
26.2+
109+