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

math-shift

Description

The math-shift property for CSS is used for positioning superscript during the layout of MathML scripted elements.

Syntax

CSS

math-shift: value;

JS

object.style.mathShift = "value";

Values

<'math-shift'> =
    normal |
    compact
normal

The math layout on descendants will use the superscriptShiftUp parameter to place superscript.

compact

The math layout on descendants will use the superscriptShiftUpCramped parameter to place superscript.

Initial

normal

Examples

1 · normal

2 · compact

3 · JS