TLDR · PROGRAMMING, DESIGN & DATA SCIENCE
SHOULD CSS BE CONSTRAINTS?
Summary from the TLDR newsletter
CSS is hard, and the rules can be quite complex. It is currently hard to predict what CSS will result in. One commonly-proposed replacement for CSS is a constraint system. However, with constraint-based systems, it is possible to have more than or less than one layout that satisfies the rules. Predictability suffers again once you have complicated constraints and conflict handling rules.