Home >Web Front-end >HTML Tutorial >div css scroll bar attributes and style settings_html/css_WEB-ITnose

div css scroll bar attributes and style settings_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:26:571839browse

1. overFlow:

visible is value-saving, has no scroll bar, and automatically expands the size of the area according to the content, that is, the defined area is invalid
scroll always displays scrolling Bar
hidden has no scroll bar, and the content beyond the area is invisible
auto automatically determines whether to add a scroll bar based on the content

2. Scroll bar color attribute:

scrollbar-face- color: slider color
scrollbar-hightlight-color: highlight color
scrollbar-3dlight-color: three-dimensional light color
scrollbar-darkshadow-color: shadow color
scrollbar-shadow-color: shadow Color
scrollbar-arrow-color: Arrow color
scrollbar-track-color: Slide track color
scrollbar-base-color: The main color of the scroll bar, which contains the scroll button and scroll slider

3.overFlow-x overFlow-y

visible is value-saving, has no scroll bar, and automatically expands the size of the area according to the content, that is, the defined area is invalid
scroll always displays the scroll bar
hidden has no scroll bar, and the content beyond the area is not visible
auto automatically determines whether to add a scroll bar based on the content

Please indicate when reprinting: http://www.cnblogs.com/wshiqtb/

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