S
S
Sasha2015-12-04 21:43:05
css
Sasha, 2015-12-04 21:43:05

How to correctly subtract the content scroll step size?

Hello, please tell me how to correctly subtract the content scroll step size based on its size?
Or do they calculate differently?
The problem is in the step, either there is a gap, or such as it is now, it scrolls too much.
Thank you.

Example

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2015-12-04
@Stalker_RED

You don't have to count anything.
It's enough just to hide the scrollbar, for example like this. jsfiddle.net/ufp8hqka/1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question