Skip to content

Instantly share code, notes, and snippets.

@magbanum

magbanum/index.html

Last active Apr 20, 2021
Embed
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>
</label>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment