Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Exactly how does the "cascade" in Cascading Style Sheets work? This concise guide demonstrates the power and simplicity of CSS selectors for applying style rules to different web page elements. You’ll learn how your page’s presentation depends on a multitude of style rules and the complex ways they function—and sometimes collide—within the document’s structure. This guide is an excerpt from the upcoming fourth edition of CSS: The Definitive Guide.

Subscriber Reviews

Average Rating: 0 out of 5 rating Based on 0 Ratings

No Subscribers have provided a review for this book.


The publisher has provided additional content related to this title.


Visit the catalog page for Selectors, Specificity, and the Cascade

  • Catalog Page

Visit the errata page for Selectors, Specificity, and the Cascade

  • Errata