November 20, 2007
CSS Geek wisdom
Did you know you can actually chain pseudoclasses together?
a:visited:hover {
color: red;
}
This example applies a red color to a visited link that is being hovered. Of course this isn’t supported by IE, so it’s useless in production work.
Didn’t know that worked on pseudoclasses (on id’s and classes yes; but pseudoclasses?), kewl!
November 20th, 2007 at 11:28 ∞