Hover wird überschrieben
bearbeitet von
Hey,
> hat funktioniert 😀 Gibt es hierfür vielleicht einen Artikel?
[Kombinatoren](https://wiki.selfhtml.org/wiki/CSS/Selektoren/Kombinator)
> ~~~CSS
> article a /* weist allen Artikeln und Links {xxx} zu */
> {
> line-height:4em;
> color:#0099CC;
> text-decoration:none;
>
> }
>
> article a:focus, /* weist allen Artikeln und Links mit focus {xxx} zu */
> a:hover, /* weist allen a Elementen die gehovert werden {xxx} zu*/
> a:active /* weist allen a Elementen die aktiv sind {xxx} zu*/
> {
> color:black;
> }
>
> .copyright a /* weist allen Elementen mit der Klasse copyright und Links {xxx} zu */
> {
> color:black;
> line-height:4em;
>
> }
>
> .copyright a:focus, /* weist allen Elementen mit der Klasse copyright und Links im focus {xxx} zu */
> a:hover, /* weist allen a Elementen die gehovert werden {xxx} zu*/
> a:active /* weist allen a Elementen die aktiv sind {xxx} zu*/
> {
> color:#0099CC;
> }
> ~~~
Gruß
Jo