Skip to content

Instantly share code, notes, and snippets.

View MainakRepositor's full-sized avatar
💻
𝗚𝗲𝗻𝗲𝘀𝗶𝘀 𝗼𝗳 𝗖𝘂𝗿𝗶𝗼𝘀𝗶𝘁𝘆 ❣

MAINAK CHAUDHURI MainakRepositor

💻
𝗚𝗲𝗻𝗲𝘀𝗶𝘀 𝗼𝗳 𝗖𝘂𝗿𝗶𝗼𝘀𝗶𝘁𝘆 ❣
View GitHub Profile
@MainakRepositor
MainakRepositor / scroll.css
Last active November 6, 2021 04:00
Custom Scrollbar in CSS
body::-webkit-scrollbar {
width: 12px; /* width of the entire scrollbar */
}
body::-webkit-scrollbar-track {
background: linear-gradient(rgb(10, 10, 10),rgb(7, 7, 3),rgb(5, 10, 4)); /* color of the tracking area */
}
body::-webkit-scrollbar-thumb {
background-color: rgb(225, 248, 143); /* color of the scroll thumb */
border-radius: 20px; /* roundness of the scroll thumb */
border: 3px solid rgb(71, 70, 66);