Book description
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.
Table of contents
- Selectors, Specificity, and the Cascade
- Preface
-
1. Selectors
- Basic Style Rules
- Grouping
- Class and ID Selectors
- Attribute Selectors
- Using Document Structure
- Pseudo-Class Selectors
- Pseudo-Element Selectors
- Summary
- 2. Specificity and the Cascade
- About the Author
- Copyright
Product information
- Title: Selectors, Specificity, and the Cascade
- Author(s):
- Release date: October 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449342494
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
audiobook
The Design of Everyday Things
First, businesses discovered quality as a key competitive edge; next came science. Now, Donald A. Norman, …
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn’t clean, it can bring a development organization …
book
You Don't Know JS: Scope & Closures
No matter how much experience you have with JavaScript, odds are you don’t fully understand the …