DEV Community

Discussion on: The new (and old) CSS units you've never heard about

Collapse
 
benjaminblack profile image
Benjamin Black • Edited

lh units can be simulated when using a scalar line height (like line-height: 1.2) with:

calc(1em * 1.2)

Likewise rlh with rem.