Home  >  Article  >  Web Front-end  >  Set the scroll bar style in html_html/css_WEB-ITnose

Set the scroll bar style in html_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:46:211428browse

1. Rendering

2. css

::-webkit-srollbar-track-piece{background:none;-webkit-border-radius:0;}::-webkit-scrollbar{width:8px;height:8px;}::-webkit-scrollbar-thumb:vertical{height:50px;background-color:#bbbbbb;-webkit-border-radius:4px;outline:0px solid #ffffff;ouline-offset:-2px;border:2px solid #ffffff;}::-webkit-scrollbar-thumb:hover{height:50px;background-color:#999999;-webkit-border-radius:4px;}::-webkit-scrollbar-thumb:horizontal{width:50px;background-color:#bbbbbb;-webkit-border-radius:4px;outline:0px solid #ffffff;ouline-offset:-2px;border:2px solid #ffffff;}

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn