HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

math-depth

Description

The math-depth property for CSS describes a notion of "depth" for each element of a mathematical formula, with respect to the top-level container of that formula. Concretely, this is used to determine the computed value of the font-size property when its specified value is math.

Syntax

CSS

math-depth: value;

JS

object.style.mathDepth = "value";

Values

<'math-depth'> =
    auto-add |
    add(<integer>) |
    <integer>
auto-add

Inherited value plus one when the inherited value of math-style is compact.

add(<integer>)

Inherited value plus the specified integer.

<integer>

Specifies one or more decimal digits (0-9).

Initial

0

Examples

1 · auto-add

2 · add

3 · integer

4 · JS