Styling Scrollbars in CSS


Customize the scrollbar appearance for elements with overflow.

Source Code

::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 10px;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments