css代码 网页侧边滚动条下拉

2021/11/0323:02:12 发表评论 56

/*网页选择*/

*::-moz-selection{background:#f76aaa;text-shadow:none;color:#fff}
::selection{background:#f76aaa;text-shadow:none;color:#fff}

/*滚动条下拉*/
::-webkit-scrollbar-track-piece{width:15px;border-right:1px solid #EEE;border-left:1px solid #e4e4e4;background-color:#f0f0f0;background-image:-webkit-linear-gradient(left,#f0f0f0,#FFF)}

::-webkit-scrollbar{width:15px;height:15px}

::-webkit-scrollbar-thumb{position:relative;min-height:25px;border-radius:9999px;background:linear-gradient(#F36639,#efcc43) repeat scroll 0 0 #F36639;background-clip:padding-box}

::-webkit-scrollbar-thumb:vertical{border-top:0 solid transparent;border-right:2px solid transparent;border-bottom:0 solid transparent;border-left:3px solid transparent}

::-webkit-scrollbar-thumb:horizontal{border-top:3px solid transparent;border-right:0 solid transparent;border-bottom:2px solid transparent;border-left:0 solid transparent}

  • 我的微信
  • 这是我的微信扫一扫
  • weinxin
  • 我的微信公众号
  • 我的微信公众号扫一扫
  • weinxin

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: