Rachel spends a few minutes answering audience questions about the Stateful Animations section. She also shares some additional JavaScript animation events in the API documentation on the MDN website.
- [Student] Can you tell from the event…which of the keyframes it finished?…- Good question.…Can you tell from the animation which one of…the keyframes blocks just ran?…I am gonna say there's no direct way to do that.…However, you might want to double check me…on that one, I might be wrong.…But to my knowledge, no.…You could have to do a little bit of sniffing…to see what the final value is.…But there should be.…If there isn't a way, there should be a way.…
I know there is with the web animation's API.…So it is possible, it is physically possible…for the computer to know which one of the…keyframes blocks has ended.…With the web animation API, each animation set has…a special finish or unfinish event which delivers…a promise or a callback respectively.…So it is possible to know which of those it is.…But good question.…I wish I weren't so tired I could probably answer it better.…
- [Student] It's a good answer.…I don't know, check it out.…- Okay, fair enough.…There is MDN documentation if you go to…mdn.net, it's a great resource for learning…
Author
Released
6/2/2017Note: 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
Duration
Views
Related Courses
-
CSS: Animation
with Val Head1h 59m Intermediate -
Design the Web: CSS Animated Rollovers
with Chris Converse29m 42s Beginner -
Design the Web: SVG Rollovers with CSS
with Chris Converse23m 43s Beginner -
Creating Web Media
with Chris Converse5h 7m Intermediate
-
1. CSS Transitions
-
Introduction4m 43s
-
CSS transitions7m 41s
-
Exercise 1: Rolling a ball4m 19s
-
Duration13m 2s
-
Browser developer tools4m 8s
-
Timing functions9m 40s
-
CSS transitions summary5m 37s
-
-
2. CSS Animations
-
CSS animations5m 29s
-
Sprite animation with CSS5m 36s
-
Exercise 3: Solution7m 18s
-
Exercise 4: Solution2m 34s
-
-
3. Animation in Design
-
Jump cuts and in-betweening9m 48s
-
Drawing attention5m 36s
-
Animation design summary4m 25s
-
4. Stateful Animations
-
Exercise 5: Solution9m 13s
-
Exercise 6: Solution8m 18s
-
Managing state7m 10s
-
Sequencing4m 26s
-
Exercise 8: Solution2m 47s
-
5. Performance
-
CSS triggers9m 29s
-
Will-change property4m 33s
-
Frames per second10m 3s
-
Course resources and summary10m 22s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Stateful animations summary