You are previewing HTML5 & CSS3 For The Real World.

HTML5 & CSS3 For The Real World

Cover of HTML5 & CSS3 For The Real World by Louis Lazaris... Published by SitePoint
O'Reilly logo

Chapter 6Introducing 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 then 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 make sure 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 1, styling the new HTML5 elements ...

The best content for your career. Discover unlimited learning on demand for around $1/day.