Home >Web Front-end >HTML Tutorial >div css scroll bar attributes and style settings_html/css_WEB-ITnose
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/