body {
font:12px Helvetica,Georgia,Arial,sans-serif,宋体;
margin:0;
padding:0; font-family:"微软雅黑";
background:url(../images/bg1.png) top left repeat-x #0674e5; width:1920px; height: 1080px;
}
/*webkit内核*/
body::-webkit-scrollbar {
width:0px;
height:0px;
}
body::-webkit-scrollbar-button {
background-color:rgba(0,0,0,0);
}
body::-webkit-scrollbar-track {
background-color:rgba(0,0,0,0);
}
body::-webkit-scrollbar-track-piece {
background-color:rgba(0,0,0,0);
}
body::-webkit-scrollbar-thumb{
background-color:rgba(0,0,0,0);
}
body::-webkit-scrollbar-corner {
background-color:rgba(0,0,0,0);
}
body::-webkit-scrollbar-resizer {
background-color:rgba(0,0,0,0);
}
body::-webkit-scrollbar {
width:0px;
height:0px;
}
/*o内核*/
body .-o-scrollbar{
-moz-appearance: none !important;
background: rgba(0,255,0,0) !important;
}
body::-o-scrollbar-button {
background-color:rgba(0,0,0,0);
}
body::-o-scrollbar-track {
background-color:rgba(0,0,0,0);
}
body::-o-scrollbar-track-piece {
background-color:rgba(0,0,0,0);
}
body::-o-scrollbar-thumb{
background-color:rgba(0,0,0,0);
}
body::-o-scrollbar-corner {
background-color:rgba(0,0,0,0);
}
body::-o-scrollbar-resizer {
background-color:rgba(0,0,0,0);
}
/*IE10,IE11,IE12*/
body{
-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;
}
网站body去除滚动条css样式
最新推荐文章于 2023-04-17 16:34:56 发布