From the course: Learning Web Audio and Video
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Style your text
- [Instructor] We have a set of time elements to hold and display text values but that element has no inherent styles. Using CSS, we'll apply specific visual properties to this bit of text. Now, notice here that our time display containing both of our time elements also exists as a child of mediacontrols. And really, all of our controls exist within mediacontrols. Let's also set some style information on mediacontrols. So, scrolling up here, we can go to the bottom and actually, we don't need the color definition for anchors and time anymore, because what we're going to do right now is going to really override that. Anyway, so let's remove that bit of CSS, and replace it with mediacontrols, since mediacontrols is an ID, we're going to use the hash to identify this as an ID of mediacontrols. Right below that, we'll create a definition for our time display, which, looking down here, timedisplay contains both of our time elements. So, we'll go ahead, and once again use a hash, since we…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.