Css Linespace Code Example


Example 1: line-height css


/* 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: unset;

Example 2: css line spacing


line-height: 1.5;  /* Prefered */

line-height: 1.5em;

line-height: 150%;

line-height: 24px;

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable