Skip to content

Instantly share code, notes, and snippets.

Last active Apr 20, 2021
What would you like to do?
HTML code for the dark/light theme switcher
<div class="switch">
<input type="checkbox" class="switch__input" id="Switch">
<label class="switch__label" for="Switch">
<span class="switch__indicator"></span>
<span class="switch__decoration"></span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment