Search
 
SCRIPT & CODE EXAMPLE
 

HTML

Tailwind CSS checkbox

<div class="flex items-center mb-4">
    <input id="default-checkbox" type="checkbox" value="" class="w-4 h-4 text-blue-600 bg-gray-100 rounded border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600">
    <label for="default-checkbox" class="ml-2 text-sm font-medium text-gray-900 dark:text-gray-300">Default checkbox</label>
</div>
<div class="flex items-center">
    <input checked id="checked-checkbox" type="checkbox" value="" class="w-4 h-4 text-blue-600 bg-gray-100 rounded border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600">
    <label for="checked-checkbox" class="ml-2 text-sm font-medium text-gray-900 dark:text-gray-300">Checked state</label>
</div>
Comment

tailwind checkbox

<div class="flex justify-center">
  <div>
    <div class="form-check">
      <input class="form-check-input appearance-none h-4 w-4 border border-gray-300 rounded-sm bg-white checked:bg-blue-600 checked:border-blue-600 focus:outline-none transition duration-200 mt-1 align-top bg-no-repeat bg-center bg-contain float-left mr-2 cursor-pointer" type="checkbox" value="" id="flexCheckDefault">
      <label class="form-check-label inline-block text-gray-800" for="flexCheckDefault">
        Default checkbox
      </label>
    </div>
    <div class="form-check">
      <input class="form-check-input appearance-none h-4 w-4 border border-gray-300 rounded-sm bg-white checked:bg-blue-600 checked:border-blue-600 focus:outline-none transition duration-200 mt-1 align-top bg-no-repeat bg-center bg-contain float-left mr-2 cursor-pointer" type="checkbox" value="" id="flexCheckChecked" checked>
      <label class="form-check-label inline-block text-gray-800" for="flexCheckChecked">
        Checked checkbox
      </label>
    </div>
  </div>
</div>
Comment

PREVIOUS NEXT
Code Example
Html :: html unicode info icon 
Html :: html csrf token input 
Html :: html radio button checked 
Html :: how to set an svg favicon in html 
Html :: select 
Html :: write python in html 
Html :: django template variable remove all spaces 
Html :: rotate a table in html 
Html :: html phone number 
Html :: internal link css 
Html :: ionic fab 
Html :: safe webp image usage html 
Html :: how to make a youtube video on a website 
Html :: order invoice template in html 
Html :: disable overscroll html 
Html :: onclick on radio button 
Html :: list html 
Html :: vertical line in html 
Html :: angular input onchange 
Html :: fa icon facebook 
Html :: html iframe example 
Html :: ion input password 
Html :: translate html text in magento 2 
Html :: autocomplete="off" 
Html :: html metadata 
Html :: convert html to string python 
Html :: what is custodial crypto wallet 
Html :: bootstrap 5 jumbotron 
Html :: htlm link 
Html :: bootstrap 4.5 bold 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =