📝 Edit on GitHub
Selection
Using CSS selectors
Style an element based on state.
- CSS checked selector reference. For radio buttons, checkbox and option elements