3 ms·
Constraint based style sheets? https://gss.github.io/guides/ccss https://gss.github.io/guides/ccss I think this has great potential and I have been meaning to
by transfire 4y ago
Constraint based style sheets?
https://gss.github.io/guides/ccss https://gss.github.io/guides/ccss
I think this has great potential and I have been meaning to try it myself although I find the syntax somewhat wanting.
- PaulHoule 4y agoFor something in the "mobile app" territory this seems great. I have one application that is a photo viewer that does a lot of math in an event handler to figure dimensions out to make everything fit perfectly on the screen across a wide range of devices (from PC w/ 4K screen to a bottom barrel Android phone.) It fills in sizes and positions into CSS variables. It works pretty well, but CCSS looks like it could do all or most of that that system does declaratively.