Skip to content

24 ways to impress your friends

Vote down?

Mike Stenhouse

Hmmmmm, interesting! I’ve not tried this but I think there might be an easier way to set those heights… What if the line-height is set to, say, 1.5em on the body and 1 (unit-less – it’s valid!) on each descendant element? Or maybe some variation on that. It might force the 18px to inherit into the children without awkward calculations.