滚动条不显示

/设置滚动条滚动但不显示 开始/

        .projectpanel{
            width: 100%;
            overflow-y:scroll;
            overflow-X:hidden;
        }
        .projectpanel::-webkit-scrollbar {
            width: 0px;
        }
         
        .projectpanel::-o-scrollbar {
            width: 0px;
        }
        .projectpanel::-moz-scrollbar {
            width: 0px;
        }
        /*兼容IE*/
        .projectpanel{
           -ms-scroll-chaining: chained;
            -ms-overflow-style: none;
            -ms-content-zooming: zoom;
            -ms-scroll-rails: none;
            -ms-content-zoom-limit-min: 100%;
            -ms-content-zoom-limit-max: 500%;
            -ms-scroll-snap-type: proximity;
            -ms-scroll-snap-points-x: snapList(100%, 200%, 300%, 400%, 500%);
            -ms-overflow-style: none;
            overflow: auto;
        }
        
    /*设置滚动条滚动但不显示 结束*/    

你可能感兴趣的