Edit This Code:
See Result »
These paragraphs have a calculated line-height of: 2x16px = 32px.
These paragraphs have a calculated line-height of: 2x16px = 32px.
These paragraphs have a calculated line-height of: 2x16px = 32px.
The font-size of the div element is set to 30px.
The span element inside the div element has a font-size of 0.5em, which equals to 0.5x30 = 15px
.
Result: