CSS code for displaying the scroll bar and controlling the attributes of the scroll bar in Div

Source: Internet
Author: User

 

 

CSS code for displaying the scroll bar in Div

Here is what you want to display

The effect is as follows:

CSS code for displaying the upper and lower scroll bars in Div

Here is what you want to display

Div only displays the upper and lower scroll bars
OVERFLOW-Y: Scroll; this part is key

CSS code for modifying the color of a div scroll bar

Here is what you want to display

Code for modifying the color of a scroll bar

SCROLLBAR-FACE-COLOR (color of the protruding part of the stereo scroll bar)
SCROLLBAR-HIGHLIGHT-COLOR (color of the blank part of the scroll bar)
SCROLLBAR-SHADOW-COLOR (color of stereo scroll bar shadow)
SCROLLBAR-ARROW-COLOR (color of the up and down arrow on the button)
SCROLLBAR-BASE-COLOR (Basic Color of the scroll bar)
SCROLLBAR-DARK-SHADOW-COLOR (color of strong shadow of a three-dimensional scroll bar)

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.