Bummer! This is just a preview. You need to be signed in with a Basic or Pro account to view the entire video.

Preview

Start a free Basic trial
to watch this video

Sign up for Treehouse

UI Element States Pseudo-Classes

5:09

UI element states pseudo-classes target elements based on certain user interaction states. That’s why they’re most commonly used for styling form elements.

Quick Reference