#e8e8e8
HTML +TailwindCSS
1<form> 2 <div class="flex flex-col items-center justify-center px-6 py-8 mx-auto lg:py-0"> 3 <div class="w-full bg-white rounded-lg shadow border md:mt-0 sm:max-w-md xl:p-0"> 4 <div class="p-6 space-y-4 md:space-y-6 sm:p-8"> 5 <p class="text-xl font-bold leading-tight tracking-tight text-gray-900 md:text-2xl"> 6 Create an account 7 8 9 </p><div> 10 <label class="block mb-2 text-sm font-medium text-gray-900"> 11 Your username 12 </label> 13 <input placeholder="JohnDoe" class="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg block w-full p-2.5" id="username" type="text"> 14 </div> 15 <div> 16 <label class="block mb-2 text-sm font-medium text-gray-900"> 17 Password 18 </label> 19 <input class="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg block w-full p-2.5" placeholder="••••••••" id="password" type="password"> 20 </div> 21 <div> 22 <label class="block mb-2 text-sm font-medium text-gray-900"> 23 Confirm password 24 </label> 25 <input class="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg block w-full p-2.5" placeholder="••••••••" id="confirmPassword" type="password"> 26 </div> 27 <div class="flex items-start"> 28 <div class="flex items-center h-5"> 29 <input class="w-4 h-4 border border-gray-300 rounded bg-gray-50 focus:ring-3 focus:ring-primary-300 bg-gray-700 border-gray-600 focus:ring-primary-600 ring-offset-gray-800" type="checkbox" aria-describedby="terms" id="terms"> 30 </div> 31 <div class="ml-3 text-sm"> 32 <label class="font-light text-gray-500 text-gray-300"> 33 I accept the 34 <a href="#" class="font-medium text-primary-600 hover:underline text-primary-500"> 35 Terms and Conditions 36 </a> 37 </label> 38 </div> 39 </div> 40 41 <button class="w-full bg-blue-500 hover:bg-blue-700 focus:ring-4 focus:outline-none focus:ring-primary-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center focus:ring-blue-800 text-white" type="submit"> 42 Create an account 43 </button> 44 45 </div> 46 </div> 47 </div></form> 48
395 views
395 views
Comments
MIT License