display:flex;
flex-wrap:wrap;
display:flex;中的flex-wrap:wrap;
在 display:-webkit-box中如何设置
参考与其它属性的兼容性表请看:
https://www.smashingmagazine.com/2013/05/centering-elements-with-flexbox/ 原文
http://www.w3cplus.com/css3/designing-css-layout-with-flexbox.html 翻译
https://blog.lwxyfer.com/flex-zhi-nan/ 我的总结
-webkit-box-lines: multiple;
试试这个
box-lines 属性
box-lines定义当子元素超出了容器是否允许子元素换行。
.box{
-moz-box-lines: multiple; /Firefox/
-webkit-box-lines: multiple; /Safari,Opera,Chrome/
box-lines: multiple;
}
box-lines属性总共有2个值:
.box{
box-lines: single | multiple;
/允许换行:不允许(默认) | 允许/
}
display:box;
是什么?