Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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)

#204079
Slake
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 ?