Home  >  Article  >  Web Front-end  >  div displays scroll bar and css code that controls scroll bar properties_html/css_WEB-ITnose

div displays scroll bar and css code that controls scroll bar properties_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:27:521183browse

div displays the css code of the scroll bar

The effect is as follows:

Code to display the scroll bar

div CSS code to display the up and down scroll bars

Here is the content you want to display

The div only displays the upper and lower scroll bars
OVERFLOW-Y:scroll; This paragraph is the key

The css code to modify the color of the div scroll bar

Here is the content you want to display


Modify Scroll bar color code


SCROLLBAR-FACE-COLOR (the color of the raised part of the three-dimensional scroll bar)
SCROLLBAR-HIGHLIGHT-COLOR (the color of the blank part of the scroll bar)
SCROLLBAR- SHADOW-COLOR (the color of the three-dimensional scroll bar shadow)
SCROLLBAR-ARROW-COLOR (the color of the triangular arrows on the up and down buttons)
SCROLLBAR-BASE-COLOR (the basic color of the scroll bar)
SCROLLBAR-DARK- SHADOW-COLOR (the color of the strong shadow of the three-dimensional scroll bar)

Source http://www.divcss5.com/

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn