html去掉滑动条
实例:
.week {
/*text-align: left;*/
/*display: inline-table;*/
margin: 0 auto;
padding: 0;
list-style: none;
font-size: 0;
overflow: hidden;
box-sizing: border-box;
-moz-box-sizing: border-box;
ms-box-sizing: border-box;
overflow-x: auto;
list-style: none;
white-space:nowrap;
width: auto;
}
.week::-webkit-scrollbar {
display: none;
}
解释:
week:ul的样式;
去掉滚动条:.week::-webkit-scrollbar {
display: none;
}