Anh Tu Pham

Generation

<form class="login-form" action="home.html" method="POST"> <div class="form-group"> <label for="email">Email</label> <input type="email" class="form-control" id="email" placeholder="Email"> </div> <div class="form-group"> <label for="password">Password</label> <input type="password" class="form-control" id="password" placeholder="Password"> </div> </form> style for above form

.login-form { width: 300px; margin: 0 auto; padding: 30px 0; } .form-group { margin-bottom: 20px; } label { color: #555; display: inline-block; margin-bottom: 5px; max-width: 100%; } .form-control { border-radius: 2px; box-shadow: none; color: #495057; display: block; font-size: 14px; height: calc(2.25rem + 2px); line-height: 1.5; padding: .625rem .75rem; transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; width: 100%; }

Want to kickstart your project?Use the new AI Studio to create your code