vue2 美化滚动条
::-webkit-scrollbar-track
{
background: rgba(0,0,0,.1);
border-radius: 0;
}
::-webkit-scrollbar
{
-webkit-appearance: none;
// 滚动条的宽高
width: 5px;
height: 10px;
}
::-webkit-scrollbar-thumb
{
cursor: pointer;
border-radius: 5px;
background: rgba(0,0,0,.25);
transition: color .2s ease;
}
总结
提示:这里对文章进行总结: