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

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Thu, 28 Jun 2018 00:59:30 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-400877247-1530147569-sysbot+gh@w3.org>
You can disable margin-collapsing (along with enforcing float containment) using `display: flow-root`, see https://www.w3.org/TR/css-display-3/#valdef-display-flow-root

(I agree more control over margin-collapsing would be nice, though.)

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2839#issuecomment-400877247 using your GitHub account
Received on Thursday, 28 June 2018 00:59:38 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 28 June 2018 00:59:38 UTC