Contribution Date
Technology
Contribution Project
Contribution Details
Unitless Line Heights
The recommended method for defining line-height is using a number value, referred to as a “unitless” line-height. A number value can be any number, including a decimal-based number, as is used in the first code example on this page.
Unitless line heights are recommended due to the fact that child elements will inherit the raw number value, rather than the computed value. With this, child elements can compute their line heights based on their computed font size, rather than inheriting an arbitrary value from a parent that is more likely to need overriding.
https://css-tricks.com/almanac/properties/l/line-height/#unitless-line-h...
Issue Status
Active
Contribution Issue Link
Contribution Link
Files count
0
Patches count
0