- Let's get started with some CSS keyframe animation.…In this lesson,…we'll create a simple animation…of a robot moving across the screen…just like the one you see here…to demonstrate the basic components…of CSS keyframe animation.…Let's switch over to Sublime Text…to take a look at the HTML structure first.…The HTML behind our example is pretty simple.…Our robot is an image in our HTML document…with the class of robot assigned to it…and it's also sitting in our container div,…which has a class of wrapper.…If we look at our CSS file,…it's also pretty basic.…
We have a few margins set to keep everything away…from the edges of the page,…but that's about it.…There's not a whole lot going on just yet.…Before we start coding up our animation,…let's take a look at the two main parts…of any CSS animation.…For any CSS keyframe animation you create,…you have to first define the animation.…Basically, tell CSS what it is that should happen…and you also need to assign that animation…to a specific element or elements in your HTML.…
Web designer Val Head introduces CSS transforms and transitions—the foundation of most CSS animations—and shows how to keyframe simple animations and adjust their timing, fill, and direction. She also covers looping and chaining animations, animating HTML and SVG elements, and optimizing animation performance, and introduces the best tools and use cases for CSS animation. Start watching to get your brand in motion.
- Using CSS transforms and transitions
- Working with animation-delay and animation-fill-mode
- Timing and easing CSS animations
- Animating elements in place
- Animating sprite images
- Animating CSS transforms and transitions
- Chaining multiple animations
- Animating SVG images
- Creating high-performance CSS animations
Skill Level Intermediate
1. Overview of CSS Transitions and Transforms
2. Understanding CSS Animations
3. CSS Animation Building Blocks
4. Applying CSS Animations to SVG
5. Performance, Browser Support, and Fallbacks
6. Tools for Creating CSS Animations
- Mark as unwatched
- Mark all as unwatched
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.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.