📜  css beutify 滚动条 - CSS 代码示例

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

代码示例1
body::-webkit-scrollbar {
  width: 1em;
}
 
body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
 
body::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}