.partys {
display: flex;
width: 100%;
overflow-x: scroll;
overflow-y: hidden;
scrollbar-color: transparent transparent;
scrollbar-track-color: transparent;
-ms-scrollbar-track-color: transparent;
-ms-overflow-style: none;
/* IE 10+ */
scrollbar-width: none;
/*兼容firefox*/
}
.partys::-webkit-scrollbar {
display: none !important;
/* Chrome Safari */
width: 0 !important;
}
水平方向内容超出滚动,隐藏水平方向滚动条(兼容IE,火狐firefox,谷歌chrome Safari)
最新推荐文章于 2021-09-02 15:52:18 发布