The :checked
pseudo-class finds any radio
, checkbox
, or option
elements that are checked or enabled.
The user can change this state by clicking on the element, or by selecting a different value, in which case :checked
will not be re-applied to the element, but persisted.
element:checked {
property: value;
}