- From: jonjohnjohnson via GitHub <sysbot+gh@w3.org>
- Date: Thu, 26 Jul 2018 01:23:37 +0000
- To: public-css-archive@w3.org
Would using `display: flow-root` on the parent solve most your cases? This inhibits margin collapsing between itself and it's children. Either that and/or using... ``` .parent > :first-child { margin-top: 0; } .parent > :last-child { margin-bottom: 0; } ``` ...usually covers all cases for me. -- GitHub Notification of comment by jonjohnjohnson Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2848#issuecomment-407946141 using your GitHub account
Received on Thursday, 26 July 2018 01:23:41 UTC