Use CSS code to easily diy your Web scroll bar _css/html

Source: Internet
Author: User

When browsing the web, we can sometimes see that some of the page scroll color is not the system default, but beautiful red or other colors, in fact, this is the code to add code between the Web page to achieve, what is the specific code?
The Web page scroll bar code and its explanation are as follows: (when copying, change the capital angle bracket to lowercase)

The following is a reference fragment:
<style type= "Text/css" >
<!--
Body {
Scrollbar-face-color: #C0C0C0; Surface
Scrollbar-highlight-color: #FFFFFF (Bright side)
Scrollbar-3dlight-color: #C0C0C0 (3D light edge)
Scrollbar-darkshadow-color: #000000; (3D Dark Side)
Scrollbar-shadow-color: #808080 (Shadow)
Scrollbar-arrow-color: #000000; Arrow
Scrollbar-track-color: #E0E0E0 (Rolling area)
}
-->
</Style>

The above code, from the body below, after all the # number, are color code, color code is 16. The text in parentheses is a comment on the left code, and do not enter it when you add the page code. This way, you can DIY your own web scroll bar.

Source: China Webmaster Information Network

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.