non-jquery css animation on page-load and page-unload/exit-page -


is there a non-jquery way have purely css based animation run on page load , animation run on page-unload/exit-page?

animations on load can done css alone, animations on click think you'll need little jquery.

are looking this? -jsfiddle

$('#container').click(function () {     $('#container').fadeout();     $('#quote1').fadein().addclass('bounceinleft'); });  $('#quote1').click(function () {     $('#quote1').fadeout();     $('#quote2').fadein().addclass('bounceinright'); }); 

you can hover triggered animations in css alone. connect 2 or more elements think have nested. in hover on parent, animate child.


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -