- From: Norman Xu via GitHub <sysbot+gh@w3.org>
- Date: Mon, 26 Jun 2017 18:41:38 +0000
- To: public-css-archive@w3.org
it is a shame to not having margin collapsing in flex box. I find it confused at the beginning but once I learnt how to use, it is such useful tool and I use it everywhere everyday in all my projects. by using collapsing you don't have to do the math to sum up or deduct the margin of inner elements, you don't have to use first-child last-child to cancel out the margins at both ends. and when different elements with weight of margin sits together, they naturally reuse the maximum margin which is a brilliant idea for web page that requires flexibility and heavy combination of all different kind of element. just provide an option for us to enable it either main or cross axis but default to not collapse, making the advanced skill to skillful dev and hide it from beginner, both wins. -- GitHub Notification of comment by normanzb Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1324#issuecomment-311146331 using your GitHub account
Received on Monday, 26 June 2017 18:41:44 UTC