CSS3 :checked Selector
Set a background color for all checked input elements:
Try it yourself »
Definition and Usage
The :checked selector matches every checked input element (only for radio buttons or checkboxes).
The :checked selector is only supported in Opera.
Thank You For Helping Us!
Your message has been sent to W3Schools.