Javascript that acts as a css3 transition

I want to do something like the -moz-transition effect, which gives me an animated rotation image. or move the picture from its bottom cover up.

to find out how I want to just look at this link and see the four pictures that are under the slider.

It uses the -moz-transition CSS3 effect, but I want to have something with js or jQuery to animate it even in IE.

Is there a plugin for this?

thanks a lot

+6
source share
2 answers

jQuery .animate() will do this in a cross-browser way.

 $( '.button' ).animate( { top: '-=50' }, 400 ); 
+2
source

This tutorial seems to be perfect for your needs.

+2
source

Source: https://habr.com/ru/post/920109/


All Articles