TIL you can use a range input as a scrollbar

TIL about the genius of using an input="range" as a (programmable) scrollbar replacement when using the native one isn't possible. I ran across this when trying to set up a more performant and reliable custom scrollbar for Embla Carousel , but I'm sure it can be used elsewhere, too.