Line height vs Margin
Published in
1 min readMar 23, 2017
Using Margin: When modifying the gap between the element and the element
Using Line height: When modifying line height in the paragraph.
/* Keyword values */
line-height: normal;
/* Unitless: 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;
That's all for nowโค๏ธ
๐๐๐ Happy codesign today ๐๐๐
Lastly, I would like to share <FrontEnd30 /> where I learnt many cool front-end techniques.