Anchors and CSS

A nice thing to remember are these notes from the w3schools website:

Note: a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!!

Note: a:active MUST come after a:hover in the CSS definition in order to be effective!!

Note: Pseudo-class names are not case-sensitive.

I wondered too often why my hovers didn’t work while I clearly specified them.

Link: W3schools.com, look under “Anchor Pseudo-classes”

Leave a Reply

Your email address will not be published. Required fields are marked *