scroll.scss
410 Bytes
/* Mixins */
::-webkit-scrollbar
{
width: 8px;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track
{
border-radius: 10px;
// background-color: rgba(0,0,0,0.1);
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb
{
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(244,244,244,1);
background-color: rgba(0,0,0,0.1);
}