解决display:inline-block;行内块元素出现空白空隙问题 给他的父元素加:font-size:0px;, ul { font-size:0px;} li { font-size:16px;}