How to add animation to a website

orlando web design company

Orlando Web Design Company

Small, simple animations are fun and interesting! They can keep your users engaged and spice up your website.

Thanks to CSS3 animations, we can now animate HTML elements without using JavaScript or Flash. Below you can find our 3 favorite ways to animate elements using html5, css3 & jQuery.



Just-add-water CSS animation!
animate.css is a bunch of cool, fun, and cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and general just-add-water-awesomeness.
To use animate.css in your website, simply drop the stylesheet into your document’s <head>.

<link rel="stylesheet" href="animate.min.css">

And add the class animated to an element, along with any of the animation names.

<h1 class="animated infinite bounce">Example</h1>

That’s it! You’ve got a CSS animated element. Super!



WOW.js is a very easy and powerful jQuery plugin. Animations are revealed when you scroll. It uses Animate.css and you can easily customize the animation’s style, delay, length, & offset among others.
To use WOW.js,first link to the CSS animation library.

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

Then link and activate WOW.js

<script src="js/wow.min.js"></script>
new WOW().init();

Add the CSS class “wow” to the html element that you want to animate. This class makes the element invisible until the user scrolls to reveal it.

<div class="wow">
Content to Reveal Here

Finally, add animation style. Pick an animation style in Animate.css , then add the CSS class to the HTML element

<div class="wow bounceInUp">
Content to Reveal Here

And you are done! The animations will now play when a user scrolls down.



ScrollReveal creates easy scroll animations for web and mobile browsers.
Animations are triggered when they enter the viewport and they work in both directions, it dozen;t matter if you scroll up or down.

scrollReveal.js does not require jQuery, but does rely on CSS3 transitions. CSS3 transitions only work on the latest browser versions. IE 9 or below & Opera mini do not support CSS3 transitions.

To use scroll reveal, just add the script before the closing </body> tag.

<script src="js/scrollreveal.min.js"></script>

Then activate ScrollReveal by adding the script below.

<script> = ScrollReveal();

Both scripts should look like this:

<!DOCTYPE html>

<!-- All the things... -->

<script src="js/scrollreveal.min.js"></script>
<script> = new scrollReveal();

To animate an element, add “data-sr” to the fist tag.

<p data-sr> Hello! I'm animated :) </p>

After the class is added, it will be animated and revealed as it enters the viewport.

Orlando Web Design Company: Would you like to add animations to your webiste? Do you have questions? Contact us for a free quote!

Category: Orlando Web Design Tags: , , No Comments


M5 Design Studio

We are a small, but creative and passionate team of designers and developers specializing in web design, graphic design, branding & digital marketing.

List Your Woocommerce Products On Google Shopping Feed

List Your WooCommerce Products on Google Shopping

ORLANDO WORDPRESS DEVELOPER As an Orlando-based WooCommerce store owner, you're well aware of the Central Florida ma
Ai Woocommerce Plugins Supercharge Your Online Store

AI WooCommerce Plugins: Supercharge Your Online Store

ORLANDO WORDPRESS DEVELOPER Artificial intelligence (AI) has been the talk of the tech world, and now it's starting
Google Chrome Is Getting Rid Of Cookies

Google Chrome is getting rid of cookies: The Future of Digital Marketing in a Cookieless World

Digital Marketing Agency The digital marketing landscape is undergoing a major transformation with the impending dep

Comments are closed.