Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CSS Custom scrollbar
::-webkit-scrollbar {
width: 0.9375rem;
}
::-webkit-scrollbar-thumb {
border: 0.3125rem solid rgba(0, 0, 0, 0);
background-clip: padding-box;
border-radius: 1000rem;
background-color: var(--black);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment