// &:hover::-webkit-scrollbar {
// display: inline-block;
// }
// 美化
// &::-webkit-scrollbar {
// // display: none;
// width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
// height: 6px;
// }
// &::-webkit-scrollbar-thumb {
// border-radius: 6px;
// background: rgba(144, 147, 153, 0.5);
// // border-style: dashed;
// // border-color: transparent;
// // border-top-width: 2px;
// // background-clip: padding-box;
// // border-left-width: 0;
// // border-right-width: 0;
// }
// // &::-webkit-scrollbar-thumb:hover {
// // background: rgba(157, 165, 183, 0.7);
// // transition: 0.5s;
// // }
// &::-webkit-scrollbar-track {
// border-radius: 5px;
// background: transparent;
// }
滚动条的样式
最新推荐文章于 2023-10-16 16:34:58 发布