property
Baseline source — CSS reference
Chooses the first or last baseline set of a box participating in baseline alignment, where applicable. Inline flex containers with multiple lines provide a useful example; auto uses the layout-specific default. The sample explicitly selects the first baseline.
Formal Syntax & Structure
css syntaxcss
baseline-source: first;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>baseline-source</title><style>body{margin:8px;font:16px/24px sans-serif}#a{display:inline-flex;flex-direction:column;baseline-source:first}</style><body><p>Reference <span id="a"><span>First</span><span>Last</span></span></p></body></html>