Last active
April 20, 2021 18:16
-
-
Save magbanum/71f8b83057e30e0d8549f8193c19d38c to your computer and use it in GitHub Desktop.
HTML code for the dark/light theme switcher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> | |
</label> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment