LeaVerou / css-almanac

Repo for planning & voting on which stats to study
https://projects.verou.me/mavoice/?repo=leaverou/css-almanac&labels=proposed%20stat
34 stars 3 forks source link

line-height units #16

Closed LeaVerou closed 3 years ago

LeaVerou commented 4 years ago

Considering the unitless line-height is a best practice, would be interesting maybe to see which values authors prefer when setting the line-height: length, unitless or percentage.

(by @catalinred)

LeaVerou commented 4 years ago

This seems easy.

Find values of line-height, either from the property itself, or from font, by looking after the slash. Count incidence of the different types (unitless, percentage, length unit).

LeaVerou commented 4 years ago

This is actually part of the calculation for #11

LeaVerou commented 3 years ago

Closing, since it's already measured elsewhere (and we don't have a Fonts section anymore).