Home › Forums › CSS › Style the next selector, if (current selector child has class) › Reply To: Style the next selector, if (current selector child has class)
June 23, 2015 at 1:47 am
#204079
Participant
Sure, so :
. I have a few page links.
. The current page link is marked with a current class.
. And i want to color in red, the link after the current one. (So the next link).
But the links are encapsulated, as you can see on jsfiddle with a <li>
around <a>
.
Is it more understandable ?