首页 > 代码库 > 自定义浏览器滚动条

自定义浏览器滚动条

<!DOCTYPE html><html><head><meta charset="UTF-8"><title></title><style type="text/css">* {padding: 0px;margin: 0px;}body{height: 1000px;background: red;}::-webkit-scrollbar {width: 6px;height: 6px}::-webkit-scrollbar-thumb {border-radius: 3px;-moz-border-radius: 3px;-webkit-border-radius: 3px;background-color: #666;}::-webkit-scrollbar-track {background-color: #eee;}</style></head><body></body></html>

  

自定义浏览器滚动条