li{
list-style: none;
float: left;
}
li{
list-style: none;
display: inline-block;
}
<li><img src="1.jpg" height="350" width="500"></li>
<li><img src="2.jpg" height="350" width="500"></li>
<li><img src="3.jpg" height="350" width="500"></li>用 display: inline-block; 会在图片中间存在空隙 , float: left; 就没有 .
为什么会这样 ?
qq_大寒_2
心之东梦之东
晴书文文