[csswg-drafts] [css-box] Add option to disable collapsing margins.

Netmosfera has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-box] Add option to disable collapsing margins. ==
I know css-box hasn't been touched for years, but collapsing margins keep haunting developers, even to this day :-P

In particular people don't like the fact that margins are collapsed also between child and parent elements, as you surely know. So people resorted to `overflow:hidden`, transparent borders, `1px` padding and other weird hacks.

Not everything doable with boxes is doable with flexbox and grids, like this http://jsfiddle.net/noLyhwcj/

Thank you.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2839 using your GitHub account

Received on Wednesday, 27 June 2018 21:16:12 UTC