添加横向滚动条
ul {
display: flex;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
}
隐藏滚动条,保留滚动效果
ul::-webkit-scrollbar {
display: none;
}
2024-01-02 21:30:34
添加横向滚动条
ul {
display: flex;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
}
隐藏滚动条,保留滚动效果
ul::-webkit-scrollbar {
display: none;
}