Search
 
SCRIPT & CODE EXAMPLE
 

HTML

Tailwind CSS toggle

<label for="default-toggle" class="inline-flex relative items-center cursor-pointer">
  <input type="checkbox" value="" id="default-toggle" class="sr-only peer">
  <div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"></div>
  <span class="ml-3 text-sm font-medium text-gray-900 dark:text-gray-300">Toggle me</span>
</label>
Comment

PREVIOUS NEXT
Code Example
Html :: facebook icon in html 
Html :: convert ipynb to html 
Html :: get directions google maps html 
Html :: how to comment in html 
Html :: how to put text in the middle of a page html 
Html :: js open pdf in new tab 
Html :: Translate html in magento 2 
Html :: display image in twig 
Html :: html date range input 
Html :: autocomplete off input 
Html :: how do i make a link of a button go on a different page 
Html :: html table multiple headers 
Html :: ignore text html elemnt 
Html :: html js make dropdown list checkbox 
Html :: html textboxes 
Html :: pass data from blade/laravel to vue 
Html :: allow full screen embed 
Html :: html open email program 
Html :: how to automatic get boilerplate code for html in vc code 
Html :: markdown summary details 
Html :: click on a button and start downloading data html 
Html :: alert tailwind css 
Html :: best place to include script in html layout 
Html :: tailwind flex shrink 
Html :: play audio source on html 
Html :: trash icon html 
Html :: print button html 
Html :: html5 progress 
Html :: markup embed youtube 
Html :: allow transparency wpf window 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =