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
CSS Floating
While flowing text around images is certainly nothing new, with CSS you can float any element, …
book
Padding, Borders, Outlines, and Margins in CSS
The ability to apply margins, borders, and padding to any web page element is one of …
book
CSS Quick Syntax Reference
The CSS Quick Syntax Reference is a condensed syntax reference to the Cascading Style Sheets specification …
book
Microsoft SQL Server 2008 Reporting Services, 3rd Edition
The Definitive Guide to Microsoft SQL Server 2008 Reporting Services Create and deliver data-rich reports across …