On click toggle in CSS3 Animate It

You can now call the animations with an on click event. You can can define an out animation for transitioning out with this. Please note that the target will only animate on view if you wrap it in an animatedParent class. If it is not in this then the animation will only trigger on click.

Code Structure

<input type='button' class='animatedClick' data-target='clickExample'>
<h2 class='animated bounceInDown clickExample fadeOutDown'>It Works!</h2> 

For Information about author, go to: jackonthe.net

Share this

Related Posts