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


Start a free Basic trial
to watch this video

Sign up for Treehouse

UI Element States Pseudo-Classes


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