In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "CSS interface scrolling does not show the scroll bar how to do", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "CSS interface scroll bar does not show how to do" it!
Style the css scroll bar:
Div::-webkit-scrollbar {
Width:0
}
About::-webkit-scrollbar
::-webkit-scrollbarCSS pseudo-class selector affects the style of an element's scroll bar
::-webkit-scrollbar is only available in browsers that support WebKit (for example, Google Chrome, Apple Safari).
CSS scroll bar selector
You can use the following pseudo-element selector to modify the scroll bar style of various webkit browsers:
::-webkit-scrollbar- the entire scroll bar.
::-buttons on the webkit-scrollbar-button- scroll bar (up and down arrows).
The scroll slider on the webkit-scrollbar-thumb- scroll bar.
::-webkit-scrollbar-track- scroll bar track.
::-the track part of the webkit-scrollbar-track-piece- scroll bar without a slider.
::-the part of the webkit-scrollbar-corner- that intersects when there are both vertical and horizontal scroll bars.
::-the partial style of the corner part of some elements of webkit-resizer- (for example, the draggable button of textarea).
Grammar.
::-webkit-scrollbar {styleshere}
Exampl
Copy the code
.invisible-scrollbar::-webkit-scrollbar {
Display:none
}
.mostly-customized-scrollbar::-webkit-scrollbar {
Width:5px
Height:8px
Background-color:#aaa;/*oraddittothetrack*/
}
.mostly-customized-scrollbar::-webkit-scrollbar-thumb {
Background:#000
Thank you for your reading, the above is the "CSS interface scrolling does not show the scroll bar" content, after the study of this article, I believe you do not show the scroll bar when the CSS interface scrolls how to do this problem has a deeper understanding, the specific use of the situation also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.