滚动条样式修改

.overHide{
  overflow-x: hidden;
  overflow-y: auto;
  color: #000;
  font-size: .7rem;
  font-family: "\5FAE\8F6F\96C5\9ED1",Helvetica,"黑体",Arial,Tahoma;
  height: 100%;
}
/*滚动条样式*/
.overHide::-webkit-scrollbar {
  width: 4px;
  /*height: 4px;*/
}
.overHide::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  background: rgba(0,0,0,0.2);
}
.overHide::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  border-radius: 0;
  background: rgba(0,0,0,0.1);

}

  滚动条样式修改

 

上一篇:10 个最佳实践来改良你的 CSS


下一篇:以IO流的方式,复制图片