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
Sams Teach Yourself HTML, CSS, and JavaScript All in One, Third Edition
Teach Yourself HTML, CSS, and JavaScript All in One combines these three fundamental web development technologies …
book
CSS Grid Layout: 5 Practical Projects
CSS has grown from a language for formatting documents into a robust language for designing web …
book
HTML & CSS: Design and Build Websites
A full-color introduction to the basics of HTML and CSS from the publishers of Wrox! Every …
book
Hands-On JavaScript High Performance
An example-driven guide covering modern web app development techniques and emerging technologies such as WebAssembly, Service …