Hacker News new | ask | show | jobs
by Animats 2770 days ago
I am not a UI designer but I much prefer rule based approaches than drawing.

CSS isn't even rule based. If it was a constraint system, like "A must be to the left of B", and "C and D must have the same height", extended with "A and B must be at least this big, and drop C if it won't fit", it would be rule based.