📜  如何使滚动条真棒 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:46.377000             🧑  作者: Mango

代码示例1
::-webkit-scrollbar{
    width: 6px;
  }
  ::-webkit-scrollbar-thumb{
    background: linear-gradient(transparent,#30ff00);
    border-radius: 6px;
  }
  ::-webkit-scrollbar-thumb:hover{
    background: linear-gradient(transparent,#00c6ff);
  }