Selectors, specificity, and the cascade [applying CSS3 to documents ; excerpt from "CSS: the definite guide, 4th edition"]

Machine generated contents note: 1.SelectorsBasic Style Rules -- Element Selectors -- Declarations and Keywords -- Grouping -- Grouping Selectors -- Grouping Declarations -- Grouping Everything -- Class and ID Selectors -- Class Selectors -- Multiple Classes -- ID Selectors -- Deciding Between Class...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Meyer, Eric A. (VerfasserIn)
Format: UnknownFormat
Sprache:eng
Veröffentlicht: Beijing, Köln u.a. O'Reilly 2012
Ausgabe:1. ed.
Schlagworte:
Online Zugang:Inhaltsverzeichnis
Cover
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Machine generated contents note: 1.SelectorsBasic Style Rules -- Element Selectors -- Declarations and Keywords -- Grouping -- Grouping Selectors -- Grouping Declarations -- Grouping Everything -- Class and ID Selectors -- Class Selectors -- Multiple Classes -- ID Selectors -- Deciding Between Class and ID -- Attribute Selectors -- Simple Attribute Selectors -- Selection Based on Exact Attribute Value -- Selection Based on Partial Attribute Values -- A Particular Attribute Selection Type -- Using Document Structure -- Understanding the Parent-Child Relationship -- Descendant Selectors -- Selecting Children -- Selecting Adjacent Sibling Elements -- Selecting Following Siblings -- Pseudo-Class Selectors -- Combining Pseudo-Classes -- Structural Pseudo-Classes -- Dynamic Pseudo-Classes -- UI State Pseudo-Classes -- The :target Pseudo-Class -- The :lang Pseudo-Class -- The Negation Pseudo-Class -- Pseudo-Element Selectors -- Styling the First Letter -- Styling the First Line
Contents note continued: Restrictions on ::first-letter and ::first-lineStyling (Or Creating) Content Before and After Elements -- Summary -- 2.Specificity and the Cascade -- Specificity -- Declarations and Specificity -- Universal Selector Specificity -- ID and Attribute Selector Specificity -- Inline Style Specificity -- Importance -- Inheritance -- The Cascade -- Sorting by Weight and Origin -- Sorting by Specificity -- Sorting by Order -- Non-CSS Presentational Hints.
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 --
Beschreibung:This book is a chapter from the upcoming fourth edition of "CSS: the definitive guide"
Beschreibung:VII, 73 S.
Ill.
ISBN:1449342493
1-4493-4249-3
9781449342494
978-1-4493-4249-4