Chrome浏览器:
div::-webkit-scrollbar {
width: 0;
}
Firefox浏览器:
scrollbar-width: none;
ie:
-ms-overflow-style: none;
ie的隐藏会隐藏上下左右全部的滚动条,现先不做兼容
Chrome浏览器:
div::-webkit-scrollbar {
width: 0;
}
Firefox浏览器:
scrollbar-width: none;
ie:
-ms-overflow-style: none;
ie的隐藏会隐藏上下左右全部的滚动条,现先不做兼容