Nope, nope, nope, line-height is unitless · Matt Smith
samedi 4 février 2017 à 14:57By making the line height unitless, the browser preserves the font-size/line-height ratio even if the font size changes.
Je suis d’accord, mais ce n’est pas toujours possible. Parfois on veut juste centrer verticalement un caractère, et on a besoin de mettre des pixels (perso je fais ça pour les icônes en web-font).
(via)
— (permalink)