css.properties

baseline-shift

The baseline-shift property shifts the baseline of an element relative to the parent baseline.

Formal Syntax

<length-percentage> | sub | super | top | center | bottom

See specification

JavaScript Access

// Access via element.style
element.style.baselineShift = '0';

Browser Support

standard | Spec · Spec

FeatureChromeFirefoxSafariEdge
baseline-shift1479
baseline1479
sub1479
super1479

Related Properties