Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Pseudo-class

In CSS, a pseudo-class selector targets elements depending on their state rather than on information from the document tree. For example, the selector a:visited applies styles only to links that the user has already followed.

Learn more

Technical reference

Document Tags and Contributors

 Contributors to this page: VictorAbdon, JuliaM, klez, Andrew_Pfeiffer
 Last updated by: VictorAbdon,