Book cover for Selectors, Specificity, and the Cascade: Applying CSS3 to Documents by Eric Meyer

Selectors, Specificity, and the Cascade

Applying CSS3 to Documents

2012 Released
84 Pages
1-2 Hours
Ebook Unavailable
Audiobook Unavailable
Hardback Unavailable
O'Reilly Media ISBN 9781449342494

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

Eric Meyer

Eric A. Meyer (Cleveland, OH) has been working with the Web since late 1993. He is currently the Internet Applications Manager for the OPAL Group, an information technology firm in Cleveland, Ohio. Eric is an Invited Expert and member of the W3C CSS&FP Working Group, and he is responsiblr for coordinating the creation of the W3C's CSS Test Suite. Eric continues to remain active on CSS newsgroups and edits Web Review's Style Sheets Reference

More by Eric Meyer

Why Readwise Books?

Readwise Books is an ebook & audiobook platform that automatically logs how much you and your friends read, making it fun and easy to read more. Learn more →