CSS dominant-baseline Property Reference

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

CSS dominant-baseline Property Reference

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

Updated 2026-08-12

dominant-baseline overview

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

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

dominant-baseline formal syntax
FieldValue
Formal syntaxauto | text-bottom | alphabetic | ideographic | middle | central | mathematical | hanging | text-top
Initial valueauto
Applies toblockContainersFlexContainersGridContainersInlineBoxesTableRowsSVGTextContentElements
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediaall
Specification groupCSS Inline
StatusStandard

Practical examples

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

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

Description

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

References

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

Similar or alternative tools

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