- This topic is empty.
- AuthorPosts
- October 23, 2013 at 2:17 pm #153881
schart
ParticipantSo I hate the look of scrollbars in windows, and especially that they are always visible. I’ve seen custom scrollbars and stuff so this must be possible. I did google for a while but none of the results were what I was looking for. Any help?
October 25, 2013 at 6:47 am #154010Paulie_D
MemberAnd the laptop ‘mousepad’ user
August 6, 2016 at 4:14 am #244251Divyesh
ParticipantI think that the below code will help to hide the scrollbar in Google Chrome :
::-webkit-scrollbar {
display: none;
}
You can also style scrollbars according to your requirements using this.
January 15, 2019 at 12:09 am #281398nikzad
ParticipantA very quick an applicable solution is to use this piece of code:
html {
overflow: scroll;
overflow-x: hidden;
}
::-webkit-scrollbar {
width: 0px; /* remove scrollbar space /
background: transparent; / optional: just make scrollbar invisible /
}
/ optional: show position indicator in red */
::-webkit-scrollbar-thumb {
background: #FF0000;
}The source link is https://stackoverflow.com/questions/16670931/hide-scroll-bar-but-while-still-being-able-to-scroll
October 29, 2019 at 12:07 pm #298062vinayreddy
Participantthis code will help
ul.ui-widget-content::-webkit-scrollbar {
width: 10px;
} - AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.