LeaVerou / css-almanac

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

Multicol usage with column-count and column-width #36

Open rachelandrew opened 3 years ago

rachelandrew commented 3 years ago

How much are people using multicol on the web?

LeaVerou commented 3 years ago

This should be very easy to measure by just the presence of the core multicol attributes (columns, column-count, column-width).

LeaVerou commented 3 years ago

JS (assuming appropriate imports from https://github.com/LeaVerou/rework-utils):

countProperties(ast.stylesheet.rules, {propeties: /^column[s-]/});