Skip to main content Skip to docs navigation

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.

On this page

Updated on April 20, 2024 by Datarist.