My journey begins with this:
*::-webkit-scrollbar {
}
*::-webkit-scrollbar-button {
}
*::-webkit-scrollbar-track {
}
*::-webkit-scrollbar-track-piece {
}
*::-webkit-scrollbar-thumb:active {
width: 6px;
background-color: red;
}
*::-webkit-scrollbar-corner {
}
*::-webkit-resizer {
}
How can I replicate the animation and fade-in effect of the scrollbar only when scrolling starts, and then make it wider when hovering over it. Currently, applying these styles makes the scrollbar permanently visible. Do I require custom JavaScript for this or is there an alternative method?
All I want to do is change the background image of all scrollbars while maintaining the functionality of existing Mac-style scrollbars.