CSS · Properties — CSS Inline

dominant-baseline

The CSS dominant-baseline property. Initial value: auto. Inherited.

Syntax
dominant-baseline: auto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top

Example

Try it

Notes

Media: all. Applies to: blockContainersFlexContainersGridContainersInlineBoxesTableRowsSVGTextContentElements. Computed value: asSpecified.

More in this group

alignment-baseline baseline-shift baseline-source initial-letter initial-letter-align text-box text-box-edge text-box-trim

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course