How to disable scrolling on body?

What’s the best way to prevent the body tag scrolling. The easiest way is a simple CSS snippet:

And you must add this class (disable-scrolling) into body tag.

Demo

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *