»
057. Scroll Bar Style
Scrollbar样式、滚动条样式:
/*总体bar,width用于设置纵向滚动条的宽度,height用于设置横向滚动条的高度*/
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
/*滑块*/
::-webkit-scrollbar-thumb {
background-color: silver;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background-color: rgb(174, 174, 174);
}
/*滑道*/
::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px #eee;
border-radius: 10px;
}
asdfsdger
aFasdfasdf
asf
asd
fdsfasdfgsdfg
sdf
getElementsByTagNamedfg
sdfgsdfg
sd
fg
sdfgsdfgsdfgsdfgsd
fg
sdgf
sdfgsdfgdfgsdfg
————www.v-signon.com学习者共勉