(972) 864-8844   Email

Enter Title

How it works

The CSS3 Animation Cheat Sheet is a set of preset, plug-and-play animations for your web projects. All you need to do is add the stylesheet to your website and apply the premade CSS classes to the elements you want animated.

The CSS3 Animation Cheat Sheet uses CSS3 @keyframes and works on all the latest browsers (that's IE 10). Using CSS3 @keyframes, you don't have to worry about positioning the element to accomodate the animations - it will animate into place. Also for users with older browsers, the animated element will be visible and in place, even if the animation doesn't trigger. Below are instructions on how to get started.

Add the animation stylesheet to the <head> element of your webpage:

<link rel="stylesheet" href="css/animations.css">

Replace css with the name of the directory where the animation stylesheet is.

Add an animation class to the element you want animated:

<div id="object" class="slideUp">

Replace slideUp with the desired animation class.

For entrance animations, you need to make them invisible by adding the visibility: hidden property to the animated element:

	background-color: #fe5652;

	visibility: hidden;

visibility: hidden; is used to hide elements before the animation is activated.

The values for these animations are relative to the element's size. That means bigger images have more exaggerated animations and smaller images have more subtle animations. While these animations are simple to implement, feel free to tweak values in the stylesheet to get the right effect.

Adding effects

By default, these animations will trigger when the page loads - even if the element is further down the page - but by using jQuery there are many ways you can activate the animations. See how you can use these animations on your website.

Add jQuery to the <head> element of your webpage:

<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>

Add this before the </body> tag to trigger the animation when the user scrolls to the element:

	$(window).scroll(function() {
		var imagePos = $(this).offset().top;

		var topOfWindow = $(window).scrollTop();
			if (imagePos < topOfWindow+400) {

Replace #animatedElement with the ID or class of the element you want animated.

Replace slideUp with an animation class.

400 represents the space between the element and the top of the screen. The animation activates when the element is 400px from the top of the screen. Increase this number to make the animaton activate sooner.

Add this before the </body> tag to trigger the animation when the user clicks on the element:

	$('#animatedElement').click(function() {

Replace #animatedElement with the ID or class of the element you want animated.

Replace slideUp with an animation class.

Flickr Photo

Be safe with Allsafe Auto Insurance.

  • 972-864-8844
  • Mon - Fri  9:00am to 5:30pm
  • Saturday 9:00am to 4:00pm
  • 220 W Kingsley Rd Ste 414, Garland, TX 75041
  • info@allsafeautoinsurance.com
  • http://www.allsafeautoinsurance.com

Planar Client Options

Layout Style

  • Boxed
  • Wide

Header & Footer

Theme Preview

The design of this disc has proved a bit controversial but rolex replica uk remains effective. For some fun, we played around with various alternations to the rolex replica uk Sky-Dweller for a Watch Watch-If here. Taken as a whole, the open GMT disc is integrated about as well as one could hope, replica watches uk with a beveled edge window and a nice circular design that uniquely adds to the composition of the rolex replica sale watch. Instant classic? Perhaps not, but it is certainly Rolex. My favorite of the newer rolex replica uk Sky-Dweller models is the reference 326139 in 18k white gold with a black dial. The rolex replica GMT disc is silvered and the entire dial is rather replica watches sale legible. The red accents add a nicely sporty look, and this version of the Sky-Dweller comes on a matching black strap.