Forms
Forms 01
=
<div class="bg-gray-50 text-gray-600">
<div class="mx-auto grid grid-cols-2">
<div class="col-span-2 md:col-span-1">
<img src="http://demo-assets.uibak.com/themesdev/placeholder-horizontal.svg"alt="image placeholder" class="object-cover min-h-full w-full">
</div>
<div class="col-span-2 md:col-span-1 py-6 lg:py-12 xl:py-32 p-8 lg:px-16 flex items-center justify-center">
<div>
<h2 class="text-2xl sm:text-3xl md:text-4xl text-gray-700 font-medium">Join our Beta</h2>
<p class="text-xl text-gray-600 mt-4 max-w-3xl">When, while the lovely valley teems with vapour around me, and the meridian sun strikes the upper surface of the impenetrable foliage of my </p>
<form action="post" class="max-w-md pt-4 lg:pt-6 space-y-4">
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Name">
<input type="email" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Email">
<input type="password" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Password">
<button class="inline-block bg-gray-600 font-semibold rounded-lg py-4 px-5 lg:px-8 text-white mt-4">Join now</button>
</form>
</div>
</div>
</div>
</div>
Forms 02
=
<div class="bg-gray-50 text-gray-600">
<div class="py-6 lg:py-12 xl:py-32 p-8 lg:px-16 flex items-center justify-center mx-auto">
<div class="bg-white p-6">
<h2 class="text-2xl sm:text-3xl md:text-4xl text-gray-700 font-medium text-center">Contact us</h2>
<form action="post" class="max-w-md pt-4 lg:pt-6 space-y-4">
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Name">
<input type="email" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Email">
<textarea name="message" id="message" cols="30" rows="10" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Your message"></textarea>
<button class="inline-block bg-gray-600 font-semibold rounded-lg py-4 px-5 lg:px-8 text-white mt-4">Send form</button>
</form>
</div>
</div>
</div>
Forms 03
=
<div class="bg-gray-50 text-gray-600">
<div class="py-6 lg:py-12 xl:py-32 p-8 lg:px-16 flex flex-col items-center justify-center mx-auto">
<div class="bg-white p-6 lg:px-8 lg:pt-8 lg:pb-12 rounded-lg border border-gray-200">
<img class="h-8 p-1 self-end justify-self-center mx-auto mb-5" src="http://demo-assets.uibak.com/themesdev/airstream-logo.svg"alt="logo placeholder">
<h2 class="text-2xl md:text-3xl text-gray-700 font-medium text-center">Create new Account</h2>
<form action="post" class="max-w-md pt-4 lg:pt-6 space-y-4">
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Name">
<input type="email" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Email">
<input type="password" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Password">
<input type="password" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Repeat Password">
<label class="cursor-pointer block">
<input type="checkbox">
<span class="font-semibold">Terms and Conditions</span>
</label>
<button class="block w-full bg-gray-600 font-semibold rounded-lg py-4 px-5 lg:px-8 text-white mt-4">Create your account</button>
</form>
</div>
</div>
</div>
Forms 04
=
<div class="bg-gray-50 text-gray-600">
<div class="mx-auto grid grid-cols-2">
<div class="col-span-2 md:col-span-1 py-6 lg:py-12 xl:py-32 p-8 flex items-center justify-center bg-gray-200 text-center">
<div>
<span class="block uppercase font-semibold mb-2">Not yet a customer?</span>
<h2 class="text-2xl sm:text-3xl md:text-4xl text-gray-700 font-medium">Try for Boxify for free</h2>
<p class="text-xl text-gray-600 mt-4 max-w-3xl">When, while the lovely valley teems with vapour around me, and the meridian sun strikes the upper surface of the impenetrable foliage of my </p>
<a href="#" class="inline-block bg-gray-600 font-semibold rounded-lg py-4 px-5 lg:px-8 text-white mt-6">Start 21-day free trial</a>
</div>
</div>
<div class="col-span-2 md:col-span-1 py-6 lg:py-12 xl:py-32 p-8 flex items-center justify-center text-center">
<div>
<img class="h-12 p-1 self-end justify-self-center mx-auto mb-5" src="http://demo-assets.uibak.com/themesdev/boxify-logo.svg"alt="logo placeholder">
<form action="post" class="max-w-md pt-4 lg:pt-6 space-y-4">
<input type="email" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Email">
<input type="password" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Password">
<button class="block w-full bg-gray-600 font-semibold rounded-lg py-4 px-5 lg:px-8 text-white mt-4">Login</button>
</form>
</div>
</div>
</div>
</div>
Forms 05
=
<div class="bg-gray-50 text-gray-600 px-6 lg:px-8 pt-12 pb-20">
<div class="max-w-screen-xl mx-auto">
<img src="http://demo-assets.uibak.com/themesdev/placeholder-horizontal.svg"alt="image placeholder" class="rounded-lg">
</div>
<div class="max-w-screen-sm mx-auto mt-8 lg:mt-12">
<h2 class="text-2xl sm:text-3xl md:text-4xl xl:text-5xl text-gray-700 font-medium mb-4 lg:mb-6">Contact us</h2>
<p class="md:text-lg">One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed</p>
<form action="post" class="block mt-6 space-y-4">
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="First name">
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Last name">
</div>
<div>
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Company">
</div>
<div>
<input type="email" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Email">
</div>
<div>
<textarea rows="10" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Messages"></textarea>
</div>
<div>
<button class="block w-full bg-gray-600 font-semibold rounded-lg py-4 px-5 lg:px-8 text-white mt-4">Submit form</button>
</div>
</form>
</div>
</div>
Forms 06
=
<div class="bg-gray-50 text-gray-600 px-6 lg:px-8 pt-12 pb-20">
<div class="max-w-screen-xl mx-auto text-center">
<h2 class="text-2xl sm:text-3xl md:text-4xl text-gray-700 font-medium">Contact us</h2>
<p class="text-xl lg:text-2xl text-gray-600 mt-2">We are mmitted to a unique, cutting-edge approach to that</p>
</div>
<div class="md:grid md:grid-cols-2 md:gap-12 max-w-screen-xl mx-auto mt-12">
<div>
<span class="font-semibold text-lg mb-2 block">Contact Form</span>
<form action="post" class="block mt-6 space-y-4">
<div>
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Company">
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="First name">
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Last name">
</div>
<div>
<input type="email" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Email">
</div>
<div>
<textarea rows="5" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Messages"></textarea>
</div>
<div>
<button class="block w-full bg-gray-600 font-semibold rounded-lg py-4 px-5 lg:px-8 text-white mt-4">Submit form</button>
</div>
</form>
</div>
<div class="space-y-12 mt-12">
<div class="text-left">
<span class="font-semibold text-lg mb-2 block">Address</span>
<p>One morning, when Gregor Samsa woke from troubled dreams, he found himself It showed transformed in his bed into a horrible vermin.</p>
</div>
<div class="text-left">
<span class="font-semibold text-lg mb-2 block">Phone numbers</span>
<p>Doing business like this takes much more effort than doing your own business at home, and on top of that there's the curse of travelling.</p>
</div>
<div class="text-left">
<span class="font-semibold text-lg mb-2 block">Social media</span>
<div class="flex items-center space-x-4 mt-4">
<a href="#" class="hover:text-gray-500">
<span class="sr-only">Facebook</span>
<svg class="h-8 w-8" aria-hidden="true" fill="currentColor" viewBox="0 0 24 24">
<path fill-rule="evenodd" d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z" clip-rule="evenodd"></path>
</svg>
</a>
<a href="#" class="hover:text-gray-500">
<span class="sr-only">Instagram</span>
<svg class="h-8 w-8" aria-hidden="true" fill="currentColor" viewBox="0 0 24 24">
<path fill-rule="evenodd" d="M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.643 0-2.987-.012-4.043-.06-1.064-.049-1.791-.218-2.427-.465a4.902 4.902 0 01-1.772-1.153 4.902 4.902 0 01-1.153-1.772c-.247-.636-.416-1.363-.465-2.427-.047-1.024-.06-1.379-.06-3.808v-.63c0-2.43.013-2.784.06-3.808.049-1.064.218-1.791.465-2.427a4.902 4.902 0 011.153-1.772A4.902 4.902 0 015.45 2.525c.636-.247 1.363-.416 2.427-.465C8.901 2.013 9.256 2 11.685 2h.63zm-.081 1.802h-.468c-2.456 0-2.784.011-3.807.058-.975.045-1.504.207-1.857.344-.467.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.047 1.023-.058 1.351-.058 3.807v.468c0 2.456.011 2.784.058 3.807.045.975.207 1.504.344 1.857.182.466.399.8.748 1.15.35.35.683.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058h.08c2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z" clip-rule="evenodd"></path>
</svg>
</a>
<a href="#" class="hover:text-gray-500">
<span class="sr-only">Twitter</span>
<svg class="h-8 w-8" aria-hidden="true" fill="currentColor" viewBox="0 0 24 24">
<path d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"></path>
</svg>
</a>
</div>
</div>
</div>
</div>
</div>
Forms 07
=
<div class="bg-gray-50 text-gray-600 px-6 lg:px-8 pt-12 pb-20">
<div class="md:grid md:grid-cols-2 md:gap-12 max-w-screen-lg mx-auto">
<div>
<h2 class="text-2xl sm:text-3xl md:text-4xl text-gray-700 font-medium">Request a Quote</h2>
<form action="post" class="block mt-6 lg:mt-12 space-y-4">
<div>
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Company">
</div>
<div>
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="First name">
</div>
<div>
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Last name">
</div>
<div>
<input type="email" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Email">
</div>
<div>
<textarea rows="5" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Messages"></textarea>
</div>
<div>
<button class="block w-full bg-gray-600 font-semibold rounded-lg py-4 px-5 lg:px-8 text-white mt-4">Get your Quote</button>
</div>
</form>
</div>
<div class="space-y-12 mt-12">
<div class="border-t-2 lg:border-t-0 lg:border-l-2 border-gray-200 lg:pl-8 pt-6 lg:pt-0 space-y-12 mt-12">
<img class="h-12 p-1 opacity-75 mb-5" src="http://demo-assets.uibak.com/themesdev/fastdelivery-logo.svg"alt="logo placeholder">
<p class="text-lg italic">"Two driven jocks help fax my big quiz. Quick, Baz, get my woven flax jodhpurs! "Now fax quiz Jack! " my brave ghost pled. Five quacking zephyrs jolt my wax bed."</p>
<div class="flex flex-row items-center space-x-4 mt-6 lg:mt-8 ">
<img src="http://demo-assets.uibak.com/themesdev/user-placeholder.svg"alt="User placeholder" class="rounded-full w-12">
<div class="space-y-1">
<span class="text-base font-semibold text-gray-700 block">Tanya Gilbert</span>
<span class="text-sm font-semibold text-gray-500 block">CEO - Google</span>
</div>
</div>
</div>
</div>
</div>
</div>
Forms 08
=
<div class="bg-gray-50 text-gray-600 px-6 lg:px-8 pt-12 pb-20">
<div class="max-w-screen-xl mx-auto text-center">
<h2 class="text-2xl sm:text-3xl md:text-4xl text-gray-700 font-medium">Contact us</h2>
<p class="text-xl lg:text-2xl text-gray-600 mt-2">We are mmitted to a unique, cutting-edge approach to that</p>
<div class="max-w-2xl mx-auto mt-6 lg:mt-10">
<form action="post" class="block mt-6 space-y-4">
<div>
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Company">
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="First name">
<input type="text" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Last name">
</div>
<div>
<input type="email" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Email">
</div>
<div>
<textarea rows="5" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Messages"></textarea>
</div>
<div>
<button class="block w-full bg-gray-600 font-semibold rounded-lg py-4 px-5 lg:px-8 text-white mt-4">Send message</button>
</div>
</form>
</div>
</div>
</div>
Forms 09
=
<div class="bg-gray-50 text-gray-600">
<div class="py-6 lg:py-12 xl:py-32 p-8 lg:px-16 flex flex-col items-center justify-center mx-auto">
<div class="bg-white p-6 lg:px-8 lg:pt-8 lg:pb-12 rounded-lg border border-gray-200 max-w-md w-full">
<h2 class="text-2xl text-gray-700 font-medium text-center">Sign-in to your Account</h2>
<a href="#" class="flex space-x-2 items-center justify-center w-full bg-gray-200 hover:bg-gray-300 font-semibold rounded-lg py-3 px-5 lg:px-8 mt-4 text-gray-500">
<svg class="h-6 w-6" aria-hidden="true" fill="currentColor" viewBox="0 0 24 24">
<path d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84" />
</svg>
<span>
Login with Twitter
</span>
</a>
<div class="relative mt-6">
<div class="absolute inset-0 flex items-center">
<div class="w-full border-t-2 border-gray-300"></div>
</div>
<div class="relative flex justify-center text-sm">
<span class="px-2 bg-white text-gray-600 font-mediums">Or continue with</span>
</div>
</div>
<form action="post" class="pt-4 space-y-4">
<label for="email" class="block">
<span class="block font-semibold mb-2">Email</span>
<input type="email" id="email" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="Email">
</label>
<label for="password" class="block">
<span class="block font-semibold mb-2">Password</span>
<input type="password" name="password" id="password" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3"
placeholder="Password">
</label>
<button
class="block w-full bg-gray-600 hover:bg-gray-500 font-semibold rounded-lg py-4 px-5 lg:px-8 text-white mt-4">Sign-in</button>
</form>
<div class="text-center pt-4">
<a href="#">Already account?</a>
</div>
</div>
</div>
</div>
Forms 10
=
<div class="bg-gray-50 text-gray-600">
<div class="py-6 lg:py-12 xl:py-32 p-8 lg:px-16 flex flex-col items-center justify-center mx-auto">
<div class="bg-white p-6 lg:px-8 lg:pt-8 lg:pb-12 rounded-lg border border-gray-200 max-w-md w-full shadow">
<div class="flex space-x-6 mb-4">
<div class="bg-gray-200 w-16 h-16 rounded-full flex items-center justify-center">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-8">
<path fill-rule="evenodd" d="M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z" clip-rule="evenodd" />
</svg>
</div>
<div>
<h2 class="text-2xl text-gray-700 font-medium">Create user</h2>
<p>Please enter the user details below</p>
</div>
</div>
<form action="post" class="space-y-4">
<label for="name" class="block">
<span class="block font-semibold mb-2">Name</span>
<input type="text" id="name" name="name" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="user name">
</label>
<label for="email" class="block">
<span class="block font-semibold mb-2">Email</span>
<input type="email" id="email" name="email" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="email address">
</label>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<label for="job" class="block">
<span class="block font-semibold mb-2">Job</span>
<input type="text" id="job" name="job" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Job title">
</label>
<label for="salary" class="block">
<span class="block font-semibold mb-2">Salary</span>
<input type="text" id="salary" name="salary" class="bg-white w-full border border-gray-300 rounded-md py-3 px-3" placeholder="Salary">
</label>
</div>
<label for="slogan" class="block">
<span class="block font-semibold mb-2">Slogan</span>
<input type="text" id="slogan" name="slogan" class="bg-white w-full border border-gray-300 rounded-md py-2 px-3" placeholder="slogan">
</label>
<div class="border-t border-gray-300 pt-4 flex items-center justify-center space-x-3">
<a href="#" class="inline-block bg-white font-semibold rounded-lg py-4 px-5 lg:px-8 text-gray-600">Cancel</a>
<a href="#" class="inline-block bg-gray-500 font-semibold rounded-lg py-4 px-5 lg:px-8 text-white">Create user</a>
</div>
</form>
</div>
</div>
</div>
总共 10 条记录