- [Instructor] Now we need to work on moving…from this chooser configuration…when we have these four images inside…of our chooser component to the learning configuration…where we just have the one element,…if you'll look back at our mockup.…We want to get to the state where we have our…one chosen element, in this case, the circle, in the center.…So let's go back to the code…and work on getting that to happen.…The way we're gonna do it is I'm gonna start in my HTML file…and I like to use decent semantics.…You know I wanna go into the HTML…and make it fairly clear what I want to do.…
In this case, on the third slide here,…the how did you know slide, I'm gonna say,…instead of the chooser being in the chosen state,…I'm gonna create a new state called fixed.…And what that's gonna mean is I'm gonna hide everything…that isn't chosen and only show the chosen element…and make it bigger and so there are a couple of changes…I'm gonna make in the style sheet for that.…Let's go back up to the main chooser formatting rules,…
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.