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