3 ms·
What we really need is the ability to specify these two properties as separate CSS properties. This problem has been the bane of writing reusable components for
by _bxg1 7y ago
What we really need is the ability to specify these two properties as separate CSS properties. This problem has been the bane of writing reusable components for me. If I want a context to override a component's outer display, I have to go check and make sure I'm preserving its inner display, which is an incredibly fragile practice and prone to being messed up later.
- jamestomasino 7y agoThat really does seem like the much saner approach, doesn't it? Like, keep display for outer display as it has the history, and use "flow" for the inner. flow: flex, flow: grid, flow: normal, or something. But HN comments aren't in charge of specs, so I look forward to screwing this up for years to come.