CSS show/hide scroll bar example code

高洛峰
Release: 2017-03-27 17:49:56
Original
1705 people have browsed it

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!

Related labels:
css
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!