Home >Web Front-end >CSS Tutorial >The difference between scrollbar-base-color and scrollbar-face-color in css
scrollbar-base-color:#f8f8f8; /*The basic color of the scroll bar*/ is the same as
scrollbar-face-color: #333; /*Figure 5, the color of the three-dimensional scroll bar*/ What is the difference?
I tried it and it seems to be the same
The color is set to the sliding area of the scroll bar
scrollbar-face-color
It is set to slide Block color
If your
browser
cannot display correctly, please check the browser version. This color definition is only supported in IE 5.5 or above.
In addition, this kind of definition is best placed in the style sheet declaration, such as:
<STYLE> BODY { SCROLLBAR-FACE-COLOR: rgb(10,236,209); //滚动条凸出部分的颜色 SCROLLBAR-HIGHLIGHT-COLOR: rgb(23,255,155);//滚动条空白部分的颜色 SCROLLBAR-SHADOW-COLOR: rgb(255,116,23);//立体滚动条阴影的颜色 SCROLLBAR-3DLIGHT-COLOR: rgb(66,93,127);//滚动条亮边的颜色 SCROLLBAR-ARROW-COLOR: rgb(93,232,255);//上下按钮上三角箭头的颜色 SCROLLBAR-TRACK-COLOR: rgb(255,70,130);//滚动条的背景颜色 SCROLLBAR-DARKSHADOW-COLOR: rgb(10,0,209);//滚动条强阴影的颜色 SCROLLBAR-BASE-COLOR: rgb(66,93,128);//滚动条的基本颜色 } </STYLE>
The above is the detailed content of The difference between scrollbar-base-color and scrollbar-face-color in css. For more information, please follow other related articles on the PHP Chinese website!