Re: [csswg-drafts] [css- not sure] child-contain: border-box; to resolve child margins at parents edge

Ah, Flexbox (and Grid) have this already solved, then. If you use [the `gap` properties](https://drafts.csswg.org/css-align/#gaps), you can create a minimum separation between siblings, but not at the edges with their parent.

(Note that gaps aren't implemented for Flexbox yet, but they will be.)

Does this solve your problem?

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2848#issuecomment-415842221 using your GitHub account

Received on Friday, 24 August 2018 18:23:03 UTC