I am using wow.js
with animate.js
to show animation on mouse scroll.
I want to change the direction of animation on small device like on large screen it should animate from right and on small device it should animate from bottom.
Here is a snippet to show what I need.
new WOW().init();
<script src="https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css" rel="stylesheet"/>
<section class="wow fadeInRight" >Section 1</section>
<section class="wow fadeInUp" data-wow-delay="1s">Section 1 on mobile</section>