滚动条悬浮加粗效果
&::-webkit-scrollbar {
height: 8px;
}
&::-webkit-scrollbar-track {
background-color: #fff;
}
&::-webkit-scrollbar-thumb{
border-radius: 10px;
border-style: dashed;
border-color: transparent;
border-width: 4px;
background-color: rgba(202, 214, 244, 0.4);
background-clip: padding-box;
}
&::-webkit-scrollbar-thumb:hover {
background: #CAD6F4;
border-width: 20px;
}