1、justify-content:space-evenly 所有间距均匀分布
自己的百度脑图:https://naotu.baidu.com/file/5557599ffc50c69c0af4d63cde4be309
https://www.runoob.com/try/playit.php?f=playcss_justify-content&preval=flex-start
http://caibaojian.com/demo/flexbox/justify-content.html
justify-content: space-evenly 在移动端部分机型无效
移动端界面布局中使用flex,使用justify-content: space-evenly;样式,在部分机型中无效,
使用以下样式替换
.container{
display: flex;
align-items: center;
justify-content: space-between;
//justify-content: space-evenly;
&:before,
&:after {
content: ‘’;
display: block;
}
2、如果设置其中一个子元素为flex=1宽度为父元素剩下的宽度。如果设置有多个flex=1则均分
阮一峰flex详解:http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html