Chapter 6 Introducing CSS3
The content layer is done. Now it’s time to make it pretty. The next four chapters focus on presentation. In this one, we’ll start by covering some basics: we’ll first do a quick overview of CSS selectors, and see what’s been added to our arsenal in CSS3. Then, we’ll take a look at a few new ways of specifying colors. We’ll dive into rounded corners, drop shadows, and text shadows—tips and tricks enabling us to style pages without having to make dozens of rounded-corner and text images to match our designs.
But first, we need to ensure older browsers recognize the new elements on our page, so that we can style them.
Getting Older Browsers on Board
As we mentioned back in Chapter 2, styling the new HTML5 ...
Get HTML5 & CSS3 For The Real World, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.