我正在使用 display:flex , 我正在处理 ul 元素列表。不知道为什么我得到 2 个不同的结果: chrome 的问题: Browsers_Pic 这就是我想要做的: http://jsfiddle.net/0fbdgfcq/26/
ul {
max-width:800px;
display: flex;
flex-direction: row-reverse;
background-color: blue;
height: 100px;
max-width: 500px;
min-width: 100px;
padding:0;
}
.box{
/* Clean */
}
.g p{
white-space:nowrap;
text-align:center;
color:white;
text-decoration:none;
font-size:3vw;
}
.g li {
flex: 1 0;
width: 15%;
height: auto;
color:white;
font-size:3vw;
list-style-type: none;
word-wrap: break-word;
}
.g img {
width: 100%;
height: 100%;
max-width:100px;
max-height:100px;
}
最佳答案
关于html - flex 的 Chrome 显示问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34444246/