custom scrollbar code

This commit is contained in:
Akbar Rahman 2022-04-14 19:47:50 +01:00
parent 4061fdd9be
commit 70ee222886
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

View File

@ -102,3 +102,24 @@ kbd {
margin-left: 0.2em; margin-left: 0.2em;
margin-right: 0.2em; margin-right: 0.2em;
} }
/* scrollbar */
::-webkit-scrollbar {
width: 1em;
}
::-webkit-scrollbar-track {
box-shadow: none;
border-radius: 0px;
background-color: var(--bg);
}
::-webkit-scrollbar-thumb {
background: var(--fg-lc);
border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--fg);
}