Answers for "line height negative css"

CSS
0

line height negative css

/* setting a line-height of 1.3em to a paragraph element with a font size of 1em*/

/* with a percentage */
p { line-height: 130% }

/* with a length */
p { line-height: 1.3em}

/* with a number */
p { line-height: 1.3}
Posted by: Guest on June-07-2020

Browse Popular Code Answers by Language