Element States Pseudo-Classes6:20 with Guil Hernandez
Like user-action pseudo-classes, CSS has UI element states pseudo-classes that let us target elements based on user interaction states.
Using :disabled and :checked
To target a disabled
input element, we can write:
To target a radio button or checkbox when checked, we can write:
You need to sign up for Treehouse in order to download course files.Sign up