This depends on the elements inside of your li
elements, but assuming you know what they are (in this case a
):
#nav li:hover a {
color: inherit;
}
Though depending on how the a:link
, a:visited
, a:hover
and a:active
states are defined the specificity of other selectors may override this declaration.
To be a little less precise, you can use the *
wildcard selector:
#nav li:hover * {
color: inherit;
}
But, again, this may be overruled by other, more specific, selectors defined elsewhere (especially if an id
is used).