CSS中的自定义滚动条。
该存储库将帮助您仅使用CSS创建自定义滚动条!
入门
您只需要一个简单CSS代码,该代码已经写入此存储库的.css文件中。 您也可以从此处复制该代码。
代码
/* set the width here */
:: -webkit-scrollbar {
width : 8 px ;
}
/* set the background color here */
:: -webkit-scrollbar-track {
background : # fff ;
}
/* set the color of handle here */
:: -webkit-scrollbar-thumb {
background : # e94057 ;
}
/* set the color of handle on hover