Css changes the scroll bar style of Google's browser, css Google scroll bar style

Source: Internet
Author: User

Css changes the scroll bar style of Google's browser, css Google scroll bar style

 

For details, click

 

/* --- Default display style of the scroll bar -- */:-webkit-scrollbar-thumb {height: 50px; outline-offset:-2px; outline: 2px solid # fff; -webkit-border-radius: 4px; border: 2px solid # fff;}/* --- click the scroll bar to display the style -- */:-webkit-scrollbar-thumb: hover {height: 50px;-webkit-border-radius: 4px;}/* --- scroll bar size -- */:-webkit-scrollbar {width: 8px; height: 8px ;} /* --- scroll box background style -- */:-webkit-scrollbar-track-piece {-webkit-border-radius: 0 ;} ======================================
:-Webkit-scrollbar-track {background-color: # b46868;}/* slide rail background color of the scroll bar */:-webkit-scrollbar-thumb {background-color: rgba (0, 0, 0, 0.2);}/* slider color */:-webkit-scrollbar-button {background-color: #7c2929 ;} /* the color of the listening button at both ends of the slide */:-webkit-scrollbar-corner {background-color: black;}/* the color of the tip at the intersection of the horizontal scroll bar and the vertical scroll bar */

 

For more html5 content, click

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.