Ask HN: What would the ideal language for styling interfaces look like?

3 points by l-portet ↗ HN
CSS is the only real solution for building interfaces today, but it's known to have a lot of pain points.

If you had to rebuild a language for styling interfaces, what would be the hypothetical features you'll implement?

3 comments

[ 3.6 ms ] story [ 20.2 ms ] thread
Efficient debug, definitely. Debugging CSS is such a nightmare.
As a backend developer, I just can't get the logic behind CSS, everything is too implicit. I think I'd make a declarative, very straightforward language where the rules just works as they should do and I'd make properties dependent of others more explicit.
I think laying out interfaces for android is pretty slick. Maybe just copy what android does.