Css _ scroll bar style and css scroll bar style

Source: Internet
Author: User

Css _ scroll bar style and css scroll bar style

/* The overall part of the scroll bar defines the size of the scroll bar corresponding to the height and width of the scroll bar and the background respectively */
:-Webkit-scrollbar
{
Width: 12px;
}

/* Track shadow + rounded corner of the scroll bar */
:-Webkit-scrollbar-track
{
-Webkit-box-shadow: inset 0 6px # 929C9C;
-Webkit-border-radius: 5px;
Border-radius: 5px;
}

/* Shadow + rounded corner in the slider in the scroll bar */
:-Webkit-scrollbar-thumb
{
-Webkit-border-radius: 5px;
Border-radius: 5px;
Background: inset 0 0 6px #00ABA2;
-Webkit-box-shadow: inset 0 0 6px #00ABA2;
}
/* When the focus is not in the status of the slider in the current area */
:-Webkit-scrollbar-thumb: window-inactive
{
Background: rgba (0.4, 0 );
}
/* Top half or left half of the scroll bar
:-Webkit-scrollbar-track-piece: start
{
Background: rgba (100, 0.4 );
}*/
:-Webkit-scrollbar-thumb: hover
{
-Webkit-border-radius: 6px;
Border-radius: 5px;
Background: inset 0 0 6px #00ABA2;
-Webkit-box-shadow: inset 0 0 8px #00ABA2;
}

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.