📪Line Height

.line-height-normal

Sets the line-height property to normal, allowing the browser to determine the appropriate line height based on the font and content.

CSS equivalent: line-height: normal;

Example usage:

<div class="line-height-normal">This element has normal line height.</div>

.line-height-{number}

Sets the line height of the text content.

CSS equivalent: line-height: {number}px;

Example usage:

<div class="line-height-24">This text has a line height of 24 pixels.</div>

The line-height property controls the spacing between lines of text within an element. Use these classes to apply specific line-height values or reset to the default behavior.

Last updated