Kevin Powell - CommunityKP-C
Kevin Powell - Community2y ago
25 replies
rik

How do I use the CSS Grouping selector for several children

I want to set the style of a, a:hover, a:visitied and a:active, in the nav section of my site separately from the rest of the site. I thought I'd use a CSS selector of nav a, a:hover, but this selects nav a and a:hover not nav (a and a:hover). Is there a ... brackets for this, like for math?
Was this page helpful?