Team:UC Chile/style
From 2012.igem.org
(Difference between revisions)
Line 81: | Line 81: | ||
} | } | ||
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */ | #nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */ | ||
- | |||
- | |||
text-decoration:none; | text-decoration:none; | ||
} | } | ||
- | #nav li | + | |
+ | #nav li ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */ | ||
background-color: white; | background-color: white; | ||
color: black; | color: black; |
Revision as of 04:01, 24 March 2012