Wolf’s Little Store

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.

One response

Leave a Reply

Write in English, stay on-topic and polite.