Skip to content

Instantly share code, notes, and snippets.

@xto3na
Last active February 18, 2019 13:11
Show Gist options
  • Save xto3na/1165b54fdfaca30376bdaa3f04b626d9 to your computer and use it in GitHub Desktop.
Save xto3na/1165b54fdfaca30376bdaa3f04b626d9 to your computer and use it in GitHub Desktop.
Scroll_Styling
.scrollable-container {
&::-webkit-scrollbar {
-webkit-appearance: none;
}
&::-webkit-scrollbar:vertical {
width: 12px;
}
&::-webkit-scrollbar:horizontal {
height: 12px;
}
&::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, .5);
border-radius: 10px;
border: 2px solid #ffffff;
}
&::-webkit-scrollbar-track {
border-radius: 10px;
background-color: #ffffff;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment