Open 981377660LMT opened 7 months ago
/* Designing for scroll-bar */
&::-webkit-scrollbar {
width: 6px;
}
/* Track */
&::-webkit-scrollbar-track {
background: gainsboro;
border-radius: 5px;
}
/* Handle */
&::-webkit-scrollbar-thumb {
background: black;
border-radius: 5px;
}
/* Handle on hover */
&::-webkit-scrollbar-thumb:hover {
background: #555;
}
修改属性需要 &::-webkit-scrollbar 样式存在
https://rem486.top/web/css/chrome-scroll-bar.html