3 ms·
A bit aside, but while working on a kind of CSS for a different purpose this past year I realized that there's no real distinction* between CSS-the-syntax and C
by abathur 4y ago
A bit aside, but while working on a kind of CSS for a different purpose this past year I realized that there's no real distinction* between CSS-the-syntax and CSS-the-spec/rules/properties/selectors/etc.
Perpetually blows my mind that there's no great way to describe other lovely uses of its concepts.
* I couldn't find one after hours of reading old specs, searching, cold-calling a small number of people involved with the specs, working groups, CSS parsers, etc. Doesn't mean it doesn't exist--but I gave the tree the best shake I could.
- c-smile 4y agoYes, CSS is not a strict "language" unfortunately. prop: a b c / d e f; can be treated in some properties as list: prop: a b (c / d) e f; and some others as prop: (a b c) / (d e f); Same thing for ',' prop: a b c , d; Can be as prop: (a b c) , (d); as: prop: a b (c , d); // e.g. in font property definition. In that sense CSS syntax is a Christmas tree: each member of the family (feature author) adds its own stuff as she sees it. No moderation on that historically.