impressivewebs / CSS-Values

A PWA that allows you to search for any CSS property to get a quick reference on possible values and browser support.
https://cssvalues.com
25 stars 4 forks source link

Data source for the properties/values? #37

Open joshgoebel opened 2 years ago

joshgoebel commented 2 years ago

If you aren't willing to share the code, might you be willing to share your data source?

Ref: https://github.com/highlightjs/highlight.js/issues/3615

In a few minutes of quick googles it seems harder than I thought it would be to just get a COMPLETE list of all discrete named CSS values.

impressivewebs commented 1 year ago

Hi, @joshgoebel, sorry for the late response! I do the list manually, updating it based on lists like this one:

https://www.w3.org/Style/CSS/all-properties.en.html

...which will get new stuff added once in a while. I believe I've also used MDN's CSS reference in the past. So it's not automated or anything. It's literally just me adding stuff to an HTML file (used to be PHP from a database but there really was no point maintaining it that way anymore).