Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Crafting effective animations

From: CSS: Animations

Video: Crafting effective animations

This tutorial will be a little bit less technical. We'll explore what makes the animation effective, and we'll discuss what we often use animations for, and where they can make the most effective impact on your design. I'm sure you've heard the quote, "With great power comes great responsibility." I doubt a questionable use of CSS animations would really ever cause true harm, but using them intelligently will go far to making you look smart and having your audience to really connect with your content. In general, we use animations in user interface design to do one of the following, to attract our users' attention to a certain area, like it or not movement really grabs our attention, and that's one of the reasons banner ads are so hard to ignore.

Crafting effective animations

This tutorial will be a little bit less technical. We'll explore what makes the animation effective, and we'll discuss what we often use animations for, and where they can make the most effective impact on your design. I'm sure you've heard the quote, "With great power comes great responsibility." I doubt a questionable use of CSS animations would really ever cause true harm, but using them intelligently will go far to making you look smart and having your audience to really connect with your content. In general, we use animations in user interface design to do one of the following, to attract our users' attention to a certain area, like it or not movement really grabs our attention, and that's one of the reasons banner ads are so hard to ignore.

We might also use it to hide or reveal content in a slider or drawer type UI setting. We might use it to illustrate or demonstrate a product feature. And we might use it to provide cues and clues for our users, to make a button stand out a little more, or to show that something has changed in a dynamic interface. In these situations, it's of the utmost importance that the animations we create work for our users not against them. Usually this means keeping them slightly understated and making sure they react immediately when they happen in response to users' input. No one wants to wait for the button they just clicked to reveal the content they've requested.

All the items in that list are factors that determine how your interface behaves. But animations can also greatly affect the experience of your site or app. Animations can be used as an additional design detail to convey your overall concept and the personality of your site. Imagine a site about gardening that uses natural and earthy colors throughout the design. Adding animations to this site that use soft organic feeling movement would further the natural and botanical concepts used in the design. Conversely, fast overly bouncy animations would really distract from the concept.

Let's look at a couple of real life examples of this as well. In YouTube's site 1 Hour Per Second, the animations that they use are nice and quirky and have a little bit of bounce to them and kind of really fit with the illustration style which is also a little bit imperfect and definitely fits with the copy, which is a little bit funny. So these quirky animations really fit in with the overall concept. Another real life example that's a little bit different would be the Google+ Circle Editor. This one is a little bit different where the animation actually happens as part of the interface you're interacting with.

When you select a group of friends and then go to move them, they're animated in place under a paper clip. So, these both add a little bit of interest to the UI, but it also is very informative. It shows you, you have three people, all selected in one place, and you're ready to move them together and drop them in anyone of your circles. The best way to know for sure if your animation fits with your design is to test how it feels. Build a prototype and try using it yourself. Have other team members or friends try it too. How does it feel to you? What message do you get from it? Does it seem too fast or too slow or too laggy? Iterate on this prototype until you get something that feels right for your design.

It's nearly impossible to know what will work when it comes to animating, until you try it. The more you try, the more you'll get a feel for developing effective and elegant animations.

Show transcript

This video is part of

Image for CSS: Animations
CSS: Animations

29 video lessons · 11762 viewers

Val Head
Author

 
Expand all | Collapse all
  1. 4m 47s
    1. Welcome
      41s
    2. What you should know before watching this course
      58s
    3. Vendor prefixes and browser support
      2m 11s
    4. Using the exercise files
      57s
  2. 28m 16s
    1. Animation basics
      6m 32s
    2. Exploring animation delay and the fill-mode property
      6m 6s
    3. Working with animation direction
      4m 49s
    4. Understanding easing
      8m 47s
    5. Challenge: Adding keyframes to our animation
      49s
    6. Solution: Adding keyframes to our animation
      1m 13s
  3. 47m 37s
    1. Creating a seamlessly looping animation
      6m 27s
    2. Animating an element into place
      5m 43s
    3. Playing and pausing an animation on hover
      6m 20s
    4. Animating 3D transforms
      8m 6s
    5. Preparing a sprite image for animation
      4m 55s
    6. Animating the sprite image with steps
      5m 34s
    7. Chaining multiple animations on one element
      8m 2s
    8. Challenge: Adding a third animation to the chain
      46s
    9. Solution: Adding a third animation to the chain
      1m 44s
  4. 19m 54s
    1. A preview of what we'll be creating
      1m 10s
    2. Setting up the HTML structure
      1m 48s
    3. Adding the header animation
      5m 57s
    4. Animating the data
      6m 8s
    5. Adding interactivity with JavaScript
      4m 51s
  5. 12m 44s
    1. Why and when to use CSS animations
      4m 50s
    2. Organizing animation code for semantics and fallbacks
      4m 51s
    3. Crafting effective animations
      3m 3s
  6. 3m 0s
    1. Helpful online tools for creating and building animations
      3m 0s
  7. 24s
    1. Next steps
      24s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed CSS: Animations.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.