6. Styling Media Elements with CSS
video elements are valid HTML elements, you can treat them the same way as other elements, such as
section. This, of course, means that the
video elements can be styled via CSS.
No longer do you need to obtain a Flash player that has the correct or similar colours so that the player fits in with your website’s colour scheme (well, except for non-HTML5 browsers of course). Now you can don your CSS hat and use your skills to make these elements look the way you want them to.
As well as the usual CSS declarations that you are familiar with, a number of new ones have surfaced with the advent of CSS3—the latest version of CSS. In this chapter, you’ll learn ...