Created
December 30, 2020 12:02
-
-
Save hid0/d3a461c302020f789a7471cff1c43667 to your computer and use it in GitHub Desktop.
This file contains hidden or 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="flex w-full h-full mx-auto"> | |
<div class="relative inline-block w-10 mr-2 align-middle select-none transition duration-200 ease-in"> | |
<input type="checkbox" name="toggle" id="prefix-3" class="checked:right-0 checked:bg-blue-600 absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none focus:outline-none cursor-pointer"/> | |
<label for="prefix-3" class="block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer"> | |
</label> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment