6 ms·
CSS Display Module Level 3 sort of takes this criticism on board and has a more compositional approach to display. It's still one property but the attribute is
by inopinatus 6y ago
CSS Display Module Level 3 sort of takes this criticism on board and has a more compositional approach to display. It's still one property but the attribute is multi-valued. c.f. https://hacks.mozilla.org/2019/10/the-two-value-syntax-of-the-css-display-property/ https://hacks.mozilla.org/2019/10/the-two-value-syntax-of-th.... However browser support is very limited, it's not yet in Chrome or Safari, and whether this goes far enough is a matter of taste.