A.7 CSS3
Verwendet in „11.1 CSS3-Übergänge“.
:nth-of-type [p:nth-of-type(2n+1){color:red;}]
Findet alle n Elemente eines bestimmten Typs. [C2, F3.5, S3, IE9, O9.5, IOS]
Verwendet im Abschnitt „7 Tabellen mit Pseudoklassen stylen“.
:first-child [p:first-child{color:blue;}]
Findet das erste Kindelement. [C2, F3.5, S3, IE9, O9.5, IOS3, A2]
Verwendet im Abschnitt „7 Tabellen mit Pseudoklassen stylen“.
:nth-child [p:nth-child(2n+1){color:red;}]
Findet ein bestimmtes Kindelement, von vorne gesucht. [C2, F3.5, S3, IE9, O9.5, IOS3, A2]
Verwendet im Abschnitt „7 Tabellen mit Pseudoklassen stylen“.
:last-child [p:last-child{color:blue;}]
Findet das letzte Kindelement. [C2, F3.5, S3, IE9, O9.5, IOS3, A2]
Verwendet im Abschnitt „7 Tabellen mit Pseudoklassen stylen“
Get HTML5 & CSS3 (Prags) 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.