改变滚动条的样式
.virtual-list-data {
height: 366px;
padding: 0 20px;
margin: 0 10px;
overflow-y: auto;
// 改变滚动条样式
&::-webkit-scrollbar {
width: 2px;
}
&::-webkit-scrollbar-thumb {
background-color: #e8e8e8;
border-radius: 6px;
}
&::-webkit-scrollbar-track {
background-color: #fff;
border-radius: 2px;
}
}
勤学似春起之苗,不见其增,日有所长; 辍学如磨刀之石,不见其损,日所有亏!