I have an unordered list that I use for menus. Each element has a background image and an image: hover. The background image on the first element is different from the rest, so I use the following to style it, which works fine:
Since I want an inverted image on this element, I tried to add :hover , for example:
... but it does not work. What is the syntax for combining :first-child and :hover ?
html css
Diodeus - James MacFarlane Nov 25 '09 at 21:31 2009-11-25 21:31
source share