Join Books.org — it's free

Selectors, Specificity, and the Cascade by Eric A. Meyer — book cover
Web Site Design

Selectors, Specificity, and the Cascade

by Eric A. Meyer
Available on Bookshop Write a review

Books.org participates in affiliate programs including Bookshop.org and the Amazon Services LLC Associates Program. We may earn a commission from qualifying purchases made through links on this page, at no additional cost to you.

Log in to track your reading progress.

Overview

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 a chapter from the upcoming fourth edition of CSS: The Definitive Guide. When you purchase either the print or the ebook edition of Selectors, Specificity, and the Cascade, you’ll receive a significant discount on the entire Definitive Guide when it’s released. Why wait when you can learn how to use selectors and other key CSS 3 features right away?

  • Learn how to create CSS rules that apply to a large number of similar elements
  • Group rules to make style sheets smaller and download times faster
  • Understand how elements inherit styles from their parents
  • Discover how reader and browser preferences affect your page presentation
  • Examine specificity—the method browsers use to choose between two conflicting style rules
  • Get a handle on how specificity and inheritance combine to form the cascade
  • Get details on all of the CSS3 selectors

About the Author, Eric A. Meyer

Eric A. Meyer is the author of the critically acclaimed online tutorialIntroduction to HTML, as well as some other semi-popular Web pages. He is a member of the CSS&FP Working Group and the author of Cascading Style Sheets: The Definitive Guide.

Reviews

There are no reviews yet. Log in to write one.

Book Details

Published
October 11, 2012
Publisher
O'Reilly Media, Incorporated
Pages
86
Format
Paperback
ISBN
9781449342494

More by Eric A. Meyer

Similar books