分享好看的滚动条样式

::-webkit-scrollbar {

  width: 8px;

  background: transparent;

}

::-webkit-scrollbar-thumb {

  border-radius: 6px;

  border: 2px solid transparent;

  background-clip: content-box;

  background-color: #EEEEEE;

}

118 views
Comments
登录后评论
Sign In
·

可以专门出一篇文章讲解一下怎么做滚动条嘛ovo