.wl8bnc6o { Vertical-align:top -

: If there are multiple elements of varying heights in one line, top ensures the targeted element snaps to the very top of the tallest item in that line. Common Use Cases

This property is specific to inline, inline-block, and table-cell elements . It does work on standard block-level elements like or unless their display type is modified.

: Keeping small icons or badges flush with the top of a line of text. .wl8BNc6O { vertical-align:top

The top of the entire line box (highest point of any element). text-top

: Ensuring a row of images with different heights aligns at the top rather than the default baseline (bottom). : If there are multiple elements of varying

: It aligns the top of the element (and its descendants) with the top of the entire line box.

: Forcing multi-line content in a table cell to start at the top instead of being centered vertically. Comparison: top vs. text-top Alignment Target top : Keeping small icons or badges flush with

: In a , it aligns the top padding edge of the cell with the top of the table row.

Pin It on Pinterest