W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

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

From: Wes via GitHub <sysbot+gh@w3.org>
Date: Wed, 27 Jun 2018 21:16:09 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-336390352-1530134168-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 27 June 2018 21:16:17 UTC