Hallo,
Wie geht es, dass man in CSS z.B. a:hover eine Klasse zuweist?
Mit z.B. a:hover.gelb bestimmt nicht.
Doch, genauso. Zumindest in CSS2.
Wo steht das? Ich finde in http://www.w3.org/TR/REC-CSS2/selector.html#pseudo-elements nur:
If the following link:
<A class="external" href="http://out.side/">external link</A>
has been visited, this rule:
A.external:visited { color: blue }
will cause it to be blue.
viele Grüße
Axel