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

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy