I'm looking for a way to refer to a link by it's target URL. I can't change the HTML to give the links unique names or such. So basically something like:
a whereTargetURL="/Destination"
{
styling
}
You can proceed like that: http://jsfiddle.net/4F83h/
HTML <a href="demo.html">My link</a>
CSS
a[href="demo.html"]{
/*your rules*/
}
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments