how to change line spacing in javascript 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;