math-depth
Controls how MathML formulas are scaled when nested. Increasing the depth usually makes the text smaller, similar to how subscripts or superscripts work.
It is documented as part of the MathML specification.
Syntax
/* Usage Example */
math {
/* Manually increases the nesting depth of a formula */
math-depth: add(1);
}
/* Syntax */
math-depth: auto-add;
math-depth: add;
/* Global values */
math-depth: inherit;
math-depth: initial;
math-depth: revert;
math-depth: revert-layer;
math-depth: unset;
math-depth Browser support
Widely available
Since
2023 79% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2023.
109+
117+
26.4+
109+