CSS alignment-baseline Property Reference

The CSS alignment-baseline property is a standard property in CSS Inline. Review its formal syntax, computed behavior, and practical declarations.

CSS alignment-baseline Property Reference

The CSS alignment-baseline property is a standard property in CSS Inline. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

alignment-baseline overview

The CSS alignment-baseline property is a standard property in CSS Inline. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

alignment-baseline formal syntax
FieldValue
Formal syntaxbaseline | alphabetic | ideographic | middle | central | mathematical | text-before-edge | text-after-edge
Initial valuebaseline
Applies toinlineLevelBoxesFlexItemsGridItemsTableCellsAndSVGTextContentElements
InheritedNo
Percentagesno
Computed valuetheSpecifiedKeyword
Animation typediscrete
Medianone
Specification groupCSS Inline
StatusStandard

Practical examples

These declarations demonstrate valid ways to set alignment-baseline. The initial and inherit global keywords remain available even when a property-specific value is preferable.

alignment-baseline live example
CSS .reset-example { alignment-baseline: initial; } .inherit-example { alignment-baseline: inherit; } @supports (alignment-baseline: initial) { .supported { alignment-baseline: initial; } }

Description

The CSS alignment-baseline property is a standard property in CSS Inline. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: alignment-baseline
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies