dimanche 22 octobre 2017

Change body color on checked box

I want to change color of body in CSS when I check box. How to do that?

HTML -

<label class="switch">
  <input type="checkbox">
  <span class="slider round"></span>
</label> 

JavaScript - What to paste here?

CSS - What to past here?

Thank you very much!




Aucun commentaire:

Enregistrer un commentaire