math-shift
A property for MathML that determines whether superscripts should be shifted upwards more aggressively ('normal') or kept closer to the baseline ('compact').
Quick example
math {
/* Keeps superscripts closer to the baseline for tight spaces */
math-shift: compact;
} Quick facts
Initial value
normalInherited
Yes
Applies to
all elements
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+