Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!-- Adding dark-mode switch toggle in your page -->
<div class="switch-toggle">
<input type="checkbox" id="switch-checkbox" />
<label for="switch" id="theme-switch"
>Enable/disable Dark Mode Theme</label
>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment