css.properties

dominant-baseline

The dominant-baseline property specifies the dominant baseline for text alignment.

Formal Syntax

auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top

See specification

JavaScript Access

// Access via element.style
element.style.dominantBaseline = 'auto';

Browser Support

standard | MDN ยท Spec ยท Spec

FeatureChromeFirefoxSafariEdge
dominant-baseline11479
alphabetic11479
auto11479
central11479
hanging11479
ideographic11479
mathematical11479
middle11479

Related Properties