In this exercise, you will use the animation-delay property to start a sitting animation after the walking animation finishes.
(peppy music)…- I wanna give you the chance…to use some animations stacking on your own.…We're gonna use animation delay.…Start the sitting animation after the walking animation.…Now it's time for the learning by watching portion…of this exercise.…Switching over to the editor view.…Can see that all we have going on here…is some serious CSS.…We've got Tuna on a walk cycle right here.…I've also provided us with a sit down set…of key frames as well.…
We're gonna run sit down after the walk cycle has finished.…It's gonna look a little something like this.…So first we start by adding a comma.…Then we're gonna do sit-down…and let's see…it's gonna use steps.…It's got five frames,…we're doing steps five.…We want it to only happen once.…It'll go by default,…so let's see what happens.…Oh, we need to give it a duration so it can actually run.…
Let's give it a .5 seconds duration.…So now he's walking, he's walking,…and well wait a minute, what happened there?…As you can see when they run at the same time…the last animation listed runs first.…
Note: This course was created by Frontend Masters. It was originally released on 09/15/2016. We're pleased to host this training in our library.
- CSS transitions and animations
- Using animation in product design
- Creating a sprite animation with CSS
- Stateful transitions and supplemental animations
- Using developer tools to manipulate animations
- Jump cuts and in-betweening
- Static vs. dynamic animations
- Designing performant animations
Skill Level Intermediate
Design the Web: CSS Animated Rolloverswith Chris Converse29m 42s Beginner
Design the Web: SVG Rollovers with CSSwith Chris Converse23m 43s Beginner
1. CSS Transitions
2. CSS Animations
3. Animation in Design
4. Stateful 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.