Answer the question
In order to leave comments, you need to log in
How to write your scrollbar via mousewheel?
Good evening. There is a block with a fixed height and width and overflow:hidden on the side is an additional block that plays the role of a scrollbar, relative to the height of the parent block 40% is acceptable. Also a block with info and a height of 10 thousand pc. It is possible without plugins, I don’t think there will be a lot of code. I want to see how it works. I've sketched a frame here. codepen.io/Mackaybravo/pen/KdqRJJ
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question