隐藏滚动条但可用滚动
//隐藏滚动条但可用滚动----谁滚动加谁身上
.box{
overflow-y: scroll;
scrollbar-width: none ;
-ms-overflow-style: none;
overflow: -moz-scrollbars-none;
}
.box::-webkit-scrollbar { width: 0 !important }
两种方法,上面一种下面一种
&::-webkit-scrollbar{ background-color: transparent; width: 0;height: 0; }