元素使用display: inline-block;后,总是和其他元素出现间隙,其实是fontsize惹的祸,将父元素的font-size:0px,就可以解决或者父元素设置display: table;