Simple Question: what's the proper way to write a CSS selector with a class AND a pseudo class?
For example:
a.someclass:active {
top:1px;
}
or
a:active.someclass {
top:1px;
}
Which is correct? If possible, can you give me a source on this - such as a W3C reference? I tried to find it but alas I could not.