Selectors
Popularity Report
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
URL Tag Cloud
Bookmark History
Saved by 12 people (5 private), first by anonymouse user on 2006-04-24
- Co-optation on 2008-09-02 - Tags Bookmarks Toolbar Folder
- Navneetk on 2008-07-31 - Tags w3c , CSS
- Pixelpainter on 2008-07-03 - Tags Media , Info , Edit , Web , Design , css , codes
- Michalmisler on 2008-04-18 - Tags css , html
- Fabiola_isabel on 2008-02-18 - Tags css , hack
Public Sticky notes
Highlighted by mudiarto
Highlighted by mudiarto
or example, the following rule matches any P element whose "class" attribute has been assigned a list of space-separated values that includes "pastoral" and "marine":
p.marine.pastoral { color: green }
This rule matches when class="pastoral blue aqua marine" but does not match for class="pastoral blue"
Highlighted by michalmisler
a:link { color: red } /* unvisited links */
a:visited { color: blue } /* visited links */
a:hover { color: yellow } /* user hovers */
a:active { color: lime } /* active links */
Note that the A:hover must be placed after the A:link and A:visited rules, since otherwise the cascading rules will hide the 'color' property of the A:hover rule. Similarly, because A:active is placed after A:hover, the active color (lime) will apply when the user both activates and hovers over the A element.
Highlighted by pabranch
Highlighted by pabranch
Highlighted by pabranch


Public Comment