Create custom scrollbar styles with CSS
Target Browser
Note: WebKit styles work in Chrome, Edge, Safari. Firefox uses standard CSS properties.
Dimensions
Colors
Options
Preview
CSS
/* WebKit Scrollbar (Chrome, Safari, Edge) */
.custom-scrollbar::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #888888;
border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #555555;
}
.custom-scrollbar::-webkit-scrollbar-button {
display: none;
}
/* Firefox Scrollbar */
.custom-scrollbar {
scrollbar-width: thin;
scrollbar-color: #888888 #f1f1f1;
}Presets