css去谷歌火狐IE滚动条

sdbxpjzq 2019-10-25

.deals::-webkit-scrollbar,.pdfcontent::-webkit-scrollbar,.topPdf::-webkit-scrollbar {
      display: none; // 谷歌隐藏滚动条
      width:0px
  }
 .deals,.pdfcontent,.topPdf {
      overflow:-moz-scrollbars-none; // 火狐隐藏滚动条
      scrollbar-width: none;
  }


/*ie10以上隐藏pdf滚动条*/
.deals,.pdfcontent,.topPdf{
    -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;
}

相关推荐