CSS · Properties — CSS Inline

alignment-baseline

The CSS alignment-baseline property. Initial value: baseline. Not inherited.

Syntax
alignment-baseline: baseline | alphabetic | ideographic | middle | central | mathematical | text-before-edge | text-after-edge

Example

Try it

Notes

Media: none. Applies to: inlineLevelBoxesFlexItemsGridItemsTableCellsAndSVGTextContentElements. Computed value: theSpecifiedKeyword.

More in this group

baseline-shift baseline-source dominant-baseline 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