Advertisement
Virajsinh

scrollbar style

Jul 14th, 2020 (edited)
485
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.72 KB | None | 0 0
  1. /*-----------------------------------------*/
  2. ::-webkit-scrollbar {
  3.     width: 6px;
  4. }
  5. ::-webkit-scrollbar-track {
  6.     background-color: #b46868;
  7. }
  8. ::-webkit-scrollbar-thumb {
  9.     background-color: rgba(0, 0, 0, 0.2);
  10. }
  11. ::-webkit-scrollbar-button {
  12.     background-color: #7c2929;
  13. }
  14. ::-webkit-scrollbar-corner {
  15.     background-color: black;
  16. }
  17. /*-----------------------------------------*/
  18. /* width */
  19. ::-webkit-scrollbar {
  20.   height: 8px;
  21.   width: 8px;
  22. }
  23.  
  24. /* Track */
  25. ::-webkit-scrollbar-track {
  26.   background: #f1f1f1;
  27. }
  28.  
  29. /* Handle */
  30. ::-webkit-scrollbar-thumb {
  31.   background: #888;
  32. }
  33.  
  34. /* Handle on hover */
  35. ::-webkit-scrollbar-thumb:hover {
  36.   background: #555;
  37. }
  38. /*-----------------------------------------*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement