Answers for "how to add line spacing"

CSS
14

line spacing css

line-height: 20px; /* 4px +12px + 4px */
/* OR */
line-height: 1.7em; /* 1em = 12px in this case. 20/12 == 1.666666  */
Posted by: Guest on March-05-2020
4

css line spacing

line-height: 1.5;  /* Prefered */

line-height: 1.5em;

line-height: 150%;

line-height: 24px;
Posted by: Guest on January-06-2021

Browse Popular Code Answers by Language