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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -