Earlier quoted context omitted.
> CSS defines properties on individual elements, while layout fundamentally needs to define relationships between elements I couldn't agree more! Does anyone know a language/toolkit/something that gets layout right? I remember getting excited by Grid Stylesheets [1] but the project seems dead now... [1] https://github.com/gss/
I do. It's CSS. There is a nifty feature display: grid. And also display: flex.
These things at least make certain things that were simply impossible to do before now possible, but they're doing it in a bolted on, unnatural, overcomplicated way.
And still there are things that are only possible by rearranging the HTML to accomodate the implied relationships these layout systems expect.