ul {
100%;
list-style: none;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: justify;
-moz-justify-content: flex-start;
-webkit-justify-content: flex-start;
justify-content: flex-start;
-webkit-justify-content: flex-start;
justify-content: flex-start;
-moz-box-pack: start;
-webkit-box-pack: start;
flex-wrap: wrap;
-webkit-flex-wrap: wrap;
}
参考地址:https://www.cnblogs.com/nuannuan7362/p/5823381.html