一行显示多个分类 可滑动
.father{
overflow:hidden;
white-space:nowrap;
height: 100upx;
}
.son{
overflow-x: auto;
}
//去除滚动条并依然可滑动
.son::-webkit-scrollbar {
display:none
}
一行显示多个分类 可滑动
.father{
overflow:hidden;
white-space:nowrap;
height: 100upx;
}
.son{
overflow-x: auto;
}
//去除滚动条并依然可滑动
.son::-webkit-scrollbar {
display:none
}
本文标题:一行显示多个内容 不换行 可滑动
本文链接:https://www.haomeiwen.com/subject/evlyyctx.html
网友评论