::
-webkit-
scrollbar
{
\t
width:
15
px
;
\t
background:
#333
;
}
::
-webkit-
scrollbar
-thumb
{
\t
background:
#555
;
\t
border:
4
px
solid
#333
;
\t
border-radius:
8
px
;
}
::
-webkit-
scrollbar
-thumb
:
hover
{
\t
background:
#777
;
}
A basic example/template demonstrating how to customize an element's scrollbar.
Element version: 1.0 (Last updated: January 26, 2024)