给元素设置display: inline-block;,可能会出现自动换行的操作 设置的display: inline-block属性的父元素设置 white-space: nowrap,就可以解决这种问题