Form by themrsami
#e8e8e8
HTML +TailwindCSS
1<div class="flex flex-col items-center justify-center h-screen"> 2 <div class="w-full max-w-md bg-white rounded-lg shadow-md p-6"> 3 <h2 class="text-2xl font-bold text-gray-900 mb-4">Login</h2> 4 <form class="flex flex-col"> 5 <input type="email" class="bg-gray-100 text-gray-900 border-0 rounded-md p-2 mb-4 focus:bg-gray-200 focus:outline-none focus:ring-1 focus:ring-blue-500 transition ease-in-out duration-150" placeholder="Email address"> 6 <input type="password" class="bg-gray-100 text-gray-900 border-0 rounded-md p-2 mb-4 focus:bg-gray-200 focus:outline-none focus:ring-1 focus:ring-blue-500 transition ease-in-out duration-150" placeholder="Password"> 7 <div class="flex items-center justify-between flex-wrap"> 8 <label for="remember-me" class="text-sm text-gray-900 cursor-pointer"> 9 <input type="checkbox" id="remember-me" class="mr-2"> 10 Remember me 11 </label> 12 <a href="#" class="text-sm text-blue-500 hover:underline mb-0.5">Forgot password?</a> 13 <p class="text-gray-900 mt-4"> Don't have an account? <a href="#" class="text-sm text-blue-500 -200 hover:underline mt-4">Signup</a></p> 14 </div> 15 <button type="submit" class="bg-gradient-to-r from-indigo-500 to-blue-500 text-white font-bold py-2 px-4 rounded-md mt-4 hover:bg-indigo-600 hover:to-blue-600 transition ease-in-out duration-150">Login</button> 16 </form> 17 </div> 18</div> 19
1.1K views
1.1K views
MIT License