.dwcontent 是你想隐藏滚动滚动条的盒子
<style>
/* 兼容性隐藏滚动条 */
.dwcontent {
scrollbar-width: none;/* Firefox */
-ms-overflow-style: none;/* IE 10+ */
}
.dwcontent::-webkit-scrollbar {
display: none;/* Chrome Safari */
}
</style>
.dwcontent 是你想隐藏滚动滚动条的盒子
<style>
/* 兼容性隐藏滚动条 */
.dwcontent {
scrollbar-width: none;/* Firefox */
-ms-overflow-style: none;/* IE 10+ */
}
.dwcontent::-webkit-scrollbar {
display: none;/* Chrome Safari */
}
</style>