滚动条样式
<style scoped>
.treeFssBox>>>::-webkit-scrollbar {
width: 4px;
height: 1px;
}
.treeFssBox>>>::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgb(138, 138, 138);
}
.treeFssBox>>>::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
background: #ededed;
border-radius: 4px;
}
</style>
.HouseContenBox::-webkit-scrollbar {/*滚动条整体样式*/
width:.1rem; /\*高宽分别对应横竖滚动条的尺寸\*/
height:.01rem;
}
.HouseContenBox::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
border-radius:.1rem;
-webkit-box-shadow: inset 0 0 .05rem rgba(0,0,0,0.2);
background:\#00bbff81;
}
.HouseContenBox::-webkit-scrollbar-track {/*滚动条里面轨道*/
-webkit-box-shadow: inset 0 0 .05rem rgba(0, 0, 0, 0.2);
border-radius: .1rem;
background:\#00bbff17;
}
还没有评论,来说两句吧...