Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Grid Style Sheets / GSS was an implementation of this idea. https://gss.github.io/guides/ccss

I saw was because I do not think anyone has used or maintained it since the company behind went belly up. But the code is still out there as open source, probably can be learned from.

Disclaimer: I used to contract for them, but in other areas.





If I am to provide a summary of why layout shouldnt be linear constraints, is that it can't faithfully represent content overflowing onto multiple lines. I.e. it's inherently one dimensional. I.e. you can't really have a layout that adaprts to the screen size without creating a lot of separate breakpoints. This is a big limitation, that for example flexbox doesnt have. When I left Grid i immediately went and reproduced a lot of stuff we've been doing in (new then) flexbox layout engine, and i was like: Oh my god, this is so much more powerful.

Good point about overflow. Did you ever do any write-ups about your flexbox experiments, or constraints for layout more generally?

Hello Jon! This is Yarik. Cool to see you doing all this machine learning work these days.

Hi Yarik! Nice to hear from you again. Hope all is well :)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: