jql999@yahoo.com
03-22-2010, 03:01 PM
Hi All,
Is there a way to nest pseudo classes?
I'm trying to create a mega-breadcrumb like in the walmart site:
http://www.walmart.com/cp/For-the-Home/4044
I'm styling the "all departments" link differently using
li:first-child but now I want to add a hover to it to display the dropdown.
But li:first-child:hover doesn't work. (didn't think it would)
Thanks,
J
So is there a way to do this using only pseudo classes, or do I have to create a class or ID to replace :first-child?
Is there a way to nest pseudo classes?
I'm trying to create a mega-breadcrumb like in the walmart site:
http://www.walmart.com/cp/For-the-Home/4044
I'm styling the "all departments" link differently using
li:first-child but now I want to add a hover to it to display the dropdown.
But li:first-child:hover doesn't work. (didn't think it would)
Thanks,
J
So is there a way to do this using only pseudo classes, or do I have to create a class or ID to replace :first-child?