Topic: CSS Basics

Pseudo-classes – CSS

Preview

A pseudo-class is prefixed with a colon and is placed right after a selector in CSS:

p:pseudo-class {}

To view this and the other 300+ tutorials on Simple Dev, sign up for a 10-day free trial.