-webkit-scrollbar 滚动条样式美化
-webkit-scrollbar修改滚动条样式,包括背景颜色,大小,形状等等。
.test1::-webkit-scrollbar { width: 8px; } .test1::-webkit-scrollbar-track { background-color:#808080; -webkit-border-radius: 2em; -moz-border-radius: 2em; border-radius:2em; } .test1::-webkit-scrollbar-thumb { background-color:#ff4400; -webkit-border-radius: 2em; -moz-border-radius: 2em; border-radius:2em; }
相关推荐
bertzhang 2020-01-31
echoes 2020-08-20
RainyX 2020-07-26
sunshineboyleng 2020-07-08
程序员俱乐部 2020-06-28
zhanghao 2020-06-16
e度空间 2020-06-11
sunshineboyleng 2020-06-04
bertzhang 2020-06-02
xtuhcy 2020-05-20
tichangde 2020-05-19
sunshineboyleng 2020-04-27
coulder 2020-03-07