scrolling="Auto" YES means to display the scroll NO means not to do it anyway Display scroll AUTO depending on the situation."/> scrolling="Auto" YES means to display the scroll NO means not to do it anyway Display scroll AUTO depending on the situation.">

Home  >  Article  >  Web Front-end  >  CSS show/hide scroll bar example code

CSS show/hide scroll bar example code

高洛峰
高洛峰Original
2017-03-27 17:49:561591browse

Show hidden scroll bars under the frameset frame

scrolling="Auto" YES means to display the scroll

            NO means not to display the scroll in any case                   AUTO Depends on the situation

-------. -------------------------------------------------- ----------------------------------

Hide scroll bars when CSS loads

< body style="overflow:hidden">

or

------ -------------------------------------------------- ----------------------------------

div displays up, down, left and right scroll bars

Here is the content you want to display

div displays the css code for the upper and lower scroll bars

Here is the content you want to display

div displays the css code for the left and right scroll bars

Here is the content you want to display

Code to modify the color of the scroll bar

SCROLLBAR-FACE-COLOR (the color of the protruding 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 color of the scroll bar Basic color)

SCROLLBAR-DARK-SHADOW-COLOR (the color of the strong shadow of the three-dimensional scroll bar)

The above is the detailed content of CSS show/hide scroll bar example code. For more information, please follow other related articles on the PHP Chinese website!

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