This wouldn't have the effect of vertically centering the text in its parent though. This is a particular technique, otherwise I agree that using unit-less values is more useful.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The preferred way to use 'line-height' is with integer, lika 'line-height: 1;'. This number multiplied by the element's font-size.
This wouldn't have the effect of vertically centering the text in its parent though. This is a particular technique, otherwise I agree that using unit-less values is more useful.