This pseudo-class is called selected-option and will match any element which is in checked mode when the user selects the element(s), e.g. checkboxes or radiobuttons.
/* declarations */
Here, in this example, will change the
opacity of a checked checkbox to the value of 50%.