math-shift
A property for MathML that determines whether superscripts should be shifted upwards more aggressively ('normal') or kept closer to the baseline ('compact').
It is documented as part of the MathML specification.
Syntax
/* Usage Example */
math {
/* Keeps superscripts closer to the baseline for tight spaces */
math-shift: compact;
}
/* Syntax */
math-shift: normal;
math-shift: compact;
/* Global values */
math-shift: inherit;
math-shift: initial;
math-shift: revert;
math-shift: revert-layer;
math-shift: unset;
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.
109+
146+
26.2+
109+