Struggling with using the :not()
selector to exclude the .current
class from the first list item.
HTML:
<ul>
<li class="current"><a href="#">Home</a></li>
<li><a href="#">Page 2</a</li>
<li><a href="#">Page 3</a></li>
</ul>
CSS:
ul li a:not(.current){color:red}
Struggling to make the :not()
selector work to exclude the .current
class.
Tried this as well:
ul li a:not(.current a){color:red}