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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -