Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Tailwind CSS file input

<label class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300" for="file_input">Upload file</label>
<input class="block w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 cursor-pointer dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400" id="file_input" type="file">
Source by flowbite.com #
 
PREVIOUS NEXT
Tagged: #Tailwind #CSS #file #input
ADD COMMENT
Topic
Name
8+2 =