O'Reilly logo

CSS & CSS3 by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Image

Using Selectors and Attribute Selectors

Images

         To view the accompanying video for this lesson, please visit mhprofessional.com/nixoncss/.

Selectors are used in CSS to match HTML elements. They are the means by which you target elements of a web page for styling. There are a number of types of selectors now available in CSS3, and there are also some new operators you can use to zone your rules in even more precisely.

This relatively short lesson provides a complete summary of the CSS selectors by supplying a recap of the selectors you’ve already ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required