Chapter 7. Cascading and Inheritance
What the secret formula behind the cascade really is
Which CSS rules have the highest weight, and how those relate to HTML attributes
How you can override the order of the cascade when writing CSS rules
How the user can supply her own style sheet to express her preferences for display, and how those are balanced with the author’s desires
How to include one style sheet’s rules within another style sheet, and which set of rules takes priority
Which property values are inherited, which are calculated, and what that means for your CSS designs
The cascade is one of the key concepts of Cascading Style Sheets—so important, in fact, that the language was named after ...
Get Sams Teach Yourself CSS 24 in Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.