line-stacking-strategy: inline-line-height | block-line-height | max-height | grid-height
|Applies to||block-level elements|
This property allows to choose whether individual lines should have their height determined based on their content, or whether all lines in a paragraph should have the same height, or a compromise where their heights are determined by their content and then rounded up to a multiple of the paragraph line height.
The behaviour define by
inline-line-height is the default.
block-line-height uses the line-height of the block
element and ignores the actual height of the content on those lines, so lines
will always have the same spacing regardless of whether they contain spans
with larger font size of superscripts/subscripts.
grid-height is like
but each line gets rounded up to an integer multiple of the block line-height.
max-height value works like
but it ignores the
property value for inline elements.