CSS Tutorial 30 : Line height

Published: 01 January 1970
on channel: Code Amir
43
2

The line-height CSS property sets the height of a line box. It's commonly used to set the distance between lines of text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.

Syntax
/* Keyword value */
line-height: normal;

/* Unitless values: use this number multiplied
by the element's font size */
line-height: 3.5;

/* length values */
line-height: 3em;

/* percentage values */
line-height: 34%;

/* Global values */
line-height: inherit;
line-height: initial;
line-height: revert;
line-height: unset;


Watch video CSS Tutorial 30 : Line height online without registration, duration hours minute second in high quality. This video was added by user Code Amir 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4 once and liked it people.