DEV Community

Discussion on: 👉 5 CSS useful properties I TOTALLY ignored. 🤓

Collapse
tobiastotz profile image
Tobias Totz

I agree that just not displaying the scrollbar isn't the best way from UX/UI view. But there are some other ways to change the scrollbar styling to match your site, for example:

::-webkit-scrollbar {
width: 15px;
}

::-webkit-scrollbar-track {
width: 15px;
background: rgba(0, 0, 0, 0.25);
border-radius: 20px;
}

::-webkit-scrollbar-thumb {
background: rgb(89, 31, 189);
border-radius: 20px;
min-height: 50px;
}

Some comments have been hidden by the post's author - find out more