I have a check-box, and want to change the background-color of body when that is checked, with pseudo-class ":checked". Is there any way to do this? I'll be thankful for any answer;
<label>
<input id = "night" type = "checkbox">
<span>Night</span>
</label>
#night:checked {
background-color: #242729;
}