Tomasz Łakomy posted a joke tweet about naming all the CSS attributes and Tejas Kumar replied with a joke answer, going as far as making an npm module. You can even run a terminal command to see them:
You’ll get 259 of them. The source code uses the website quackit.com for the data, which I’d never heard of. 🤷♂️
I would have probably looked at MDN, where some quick
querySelectorAll handiwork in the console yields a different number: 584. But ooops, that’s full of selectors, at-rules, and other stuff. Their reference only lists 72, but says it’s incomplete.
W3Schools lists 228 of them. HTML Dog lists 125. Our almanac has 176, and I know we omit stuff on purpose (e.g. we file
margin instead of making its own entry).
520 distinct property names from 66 technical reports and 66 editors’ drafts.
I cannot take seriously any suggestion to use W3Schools as an authority.
Whenever I am working on CSS, this is the reference that I find most useful:
List of CSS properties, both proposed and standard, from the W3C.
W3Schools has apparently gotten better! https://www.w3fools.com/