Links States, Cursor Interaction
Links can be styled selecting on three pseudo-classes, giving more options and a dedicated syntax versus, targeting the tag names, via attributes, or worse alternatives.
| :link | Targets unvisited links |
|---|---|
| :visited | Targets visited links |
| :any-link | Targets both of the above |
Links are frequently targeted by the user, via the cursor, and make good targets for the related pseudo-classes.
| :hover | Targets element while being hovered |
|---|---|
| :active | Targets element while being clicked |