So, the first thing I'm going to do…is use my data-onshow attribute to animate SVG.…So that'll call a new function we're going to write,…called animateSVG.…Now I'm going to need to create a new blank SVG,…so I'm gonna copy the SVG parent element here, opening tag.…And I'm going to come to the bottom of the image,…down here at the end of the file,…and I'm gonna paste it right here.…And I'm gonna make it empty, so it's just a closed tag.…It's just going to be empty.…So now I have two SVG elements within this slide.…
AuthorW. Scott Means
- Creating a dynamic layout with flexbox
- Navigating the DOM
- Adding animation
- Controlling animations with classes
- Applying CSS to SVG
Skill Level Intermediate
Web Portfolio Projects: Binding and Propagationwith Leigh Lawhon1h 9m Intermediate
What you should know1m 4s
1. Building a Foundation
2. HTML Layout
4. Adding Animation
5. Working with SVG
- 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.