%PDF- %PDF-
Direktori : /www/loslex/test/node_modules/@tailwindcss/forms/ |
Current File : /www/loslex/test/node_modules/@tailwindcss/forms/index.html |
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@tailwindcss/forms examples</title> <link rel="stylesheet" href="/dist/tailwind.css" /> </head> <body> <div class="px-6 text-gray-900 antialiased"> <div class="mx-auto max-w-xl divide-y py-12 md:max-w-4xl"> <div class="py-8"> <h1 class="text-4xl font-bold">@tailwindcss/forms examples</h1> <p class="mt-2 text-lg text-gray-600"> An opinionated form reset designed to make form elements easy to style with utility classes. </p> <div class="mt-4 flex space-x-4"> <a class="text-lg underline" href="https://github.com/tailwindlabs/tailwindcss-forms" >Documentation</a > <a class="text-lg underline" href="/kitchen-sink.html">Kitchen Sink</a> </div> </div> <div class="py-12"> <h2 class="text-2xl font-bold">Unstyled</h2> <p class="mt-2 text-lg text-gray-600">This is how form elements look out of the box.</p> <div class="mt-8 max-w-md"> <div class="grid grid-cols-1 gap-6"> <label class="block"> <span class="text-gray-700">Full name</span> <input type="text" class="mt-1 block w-full" placeholder="" /> </label> <label class="block"> <span class="text-gray-700">Email address</span> <input type="email" class="mt-1 block w-full" placeholder="john@example.com" /> </label> <label class="block"> <span class="text-gray-700">When is your event?</span> <input type="date" class="mt-1 block w-full" /> </label> <label class="block"> <span class="text-gray-700">What type of event is it?</span> <select class="mt-1 block w-full"> <option>Corporate event</option> <option>Wedding</option> <option>Birthday</option> <option>Other</option> </select> </label> <label class="block"> <span class="text-gray-700">Additional details</span> <textarea class="mt-1 block w-full" rows="3"></textarea> </label> <div class="block"> <div class="mt-2"> <div> <label class="inline-flex items-center"> <input type="checkbox" checked /> <span class="ml-2">Email me news and special offers</span> </label> </div> </div> </div> </div> </div> </div> <div class="py-12"> <h2 class="text-2xl font-bold">Simple</h2> <div class="mt-8 max-w-md"> <div class="grid grid-cols-1 gap-6"> <label class="block"> <span class="text-gray-700">Full name</span> <input type="text" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50" placeholder="" /> </label> <label class="block"> <span class="text-gray-700">Email address</span> <input type="email" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50" placeholder="john@example.com" /> </label> <label class="block"> <span class="text-gray-700">When is your event?</span> <input type="date" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50" /> </label> <label class="block"> <span class="text-gray-700">What type of event is it?</span> <select class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50" > <option>Corporate event</option> <option>Wedding</option> <option>Birthday</option> <option>Other</option> </select> </label> <label class="block"> <span class="text-gray-700">Additional details</span> <textarea class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50" rows="3" ></textarea> </label> <div class="block"> <div class="mt-2"> <div> <label class="inline-flex items-center"> <input type="checkbox" class="rounded border-gray-300 text-indigo-600 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 focus:ring-offset-0" checked /> <span class="ml-2">Email me news and special offers</span> </label> </div> </div> </div> </div> </div> </div> <div class="py-12"> <h2 class="text-2xl font-bold">Underline</h2> <div class="mt-8 max-w-md"> <div class="grid grid-cols-1 gap-6"> <label class="block"> <span class="text-gray-700">Full name</span> <input type="text" class="mt-0 block w-full border-0 border-b-2 border-gray-200 px-0.5 focus:border-black focus:ring-0" placeholder="" /> </label> <label class="block"> <span class="text-gray-700">Email address</span> <input type="email" class="mt-0 block w-full border-0 border-b-2 border-gray-200 px-0.5 focus:border-black focus:ring-0" placeholder="john@example.com" /> </label> <label class="block"> <span class="text-gray-700">When is your event?</span> <input type="date" class="mt-0 block w-full border-0 border-b-2 border-gray-200 px-0.5 focus:border-black focus:ring-0" /> </label> <label class="block"> <span class="text-gray-700">What type of event is it?</span> <select class="mt-0 block w-full border-0 border-b-2 border-gray-200 pl-0.5 pr-10 focus:border-black focus:ring-0" > <option>Corporate event</option> <option>Wedding</option> <option>Birthday</option> <option>Other</option> </select> </label> <label class="block"> <span class="text-gray-700">Additional details</span> <textarea class="mt-0 block w-full border-0 border-b-2 border-gray-200 px-0.5 focus:border-black focus:ring-0" rows="2" ></textarea> </label> <div class="block"> <div class="mt-2"> <div> <label class="inline-flex items-center"> <input type="checkbox" class="border-2 border-gray-300 text-black focus:border-gray-300 focus:ring-black" /> <span class="ml-2">Email me news and special offers</span> </label> </div> </div> </div> </div> </div> </div> <div class="py-12"> <h2 class="text-2xl font-bold">Solid</h2> <div class="mt-8 max-w-md"> <div class="grid grid-cols-1 gap-6"> <label class="block"> <span class="text-gray-700">Full name</span> <input type="text" class="mt-1 block w-full rounded-md border-transparent bg-gray-100 focus:border-gray-500 focus:bg-white focus:ring-0" placeholder="" /> </label> <label class="block"> <span class="text-gray-700">Email address</span> <input type="email" class="mt-1 block w-full rounded-md border-transparent bg-gray-100 focus:border-gray-500 focus:bg-white focus:ring-0" placeholder="john@example.com" /> </label> <label class="block"> <span class="text-gray-700">When is your event?</span> <input type="date" class="mt-1 block w-full rounded-md border-transparent bg-gray-100 focus:border-gray-500 focus:bg-white focus:ring-0" /> </label> <label class="block"> <span class="text-gray-700">What type of event is it?</span> <select class="mt-1 block w-full rounded-md border-transparent bg-gray-100 focus:border-gray-500 focus:bg-white focus:ring-0" > <option>Corporate event</option> <option>Wedding</option> <option>Birthday</option> <option>Other</option> </select> </label> <label class="block"> <span class="text-gray-700">Additional details</span> <textarea class="mt-1 block w-full rounded-md border-transparent bg-gray-100 focus:border-gray-500 focus:bg-white focus:ring-0" rows="3" ></textarea> </label> <div class="block"> <div class="mt-2"> <div> <label class="inline-flex items-center"> <input type="checkbox" class="rounded border-transparent bg-gray-200 text-gray-700 focus:border-transparent focus:bg-gray-200 focus:ring-1 focus:ring-gray-500 focus:ring-offset-2" /> <span class="ml-2">Email me news and special offers</span> </label> </div> </div> </div> </div> </div> </div> </div> </div> </body> </html>