How to disable animations on smaller screens?

0 like 0 dislike
2 views
Hello, is it possible to disable animations on smaller screens? (use scrollreveal.js)

Here is the website:
tyk
by | 2 views

1 Answer

0 like 0 dislike
if (screen.width > 960 /*resolution at which the animation should be*/) { //here is code of animation }
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
6 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 20, 2019 by DeniSidorenko
110,608 questions
257,186 answers
0 comments
33,907 users