- From: Gavin McFarland via GitHub <sysbot+gh@w3.org>
- Date: Fri, 11 May 2018 19:25:50 +0000
- To: public-css-archive@w3.org
> It sounds like you might be asking for "make this grid item automatically get an appropriate span, according to its size", which is tracked in #1373. Yes I think this would solve that use case. > But there's a long-planned workaround that makes this work without disrupting current margin-collapsing behavior, tracked at https://wiki.csswg.org/ideas/margin-collapsing - automatically discard the margins of the first/last children, so they fit snugly into the container. Yes the `margin-break` would be a life saver especially because this would be extremely useful for responsive designs where the same elements might no longer fit on one line when less space is available. In fact if there was `margin-break: element;` that would be extremely useful if element queries ever come to fruition because the width of containers will always be unpredictable. -- GitHub Notification of comment by mindthetic Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2668#issuecomment-388462420 using your GitHub account
Received on Friday, 11 May 2018 19:25:54 UTC