"Materialize login form"
Materialize 0.98.2 Snippet by testing223

<link href="//cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/js/materialize.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <section class="section section-login"> <div class="valign-wrapper row login-box"> <div class="col card hoverable s10 pull-s1 m6 pull-m3 l4 pull-l4"> <form action="" method="POST"> <div class="card-content"> <span class="card-title">Enter login details</span> <div class="row"> <div class="input-field col s12"> <label for="text">User ID</label> <input type="text" class="validate" name="uid" id="userid" /> </div> <div class="input-field col s12"> <label for="password">Password </label> <input type="password" class="validate" name="pwd" id="password" /> </div> </div> </div> <div class="card-action right-align"> <input type="reset" id="reset" class="btn-flat grey-text waves-effect"> <input type="submit" class="btn teal waves-effect waves-light" value="Login"> </div> </form> </div> </div> </section>
$("#reset").on("click", function() { $('label').removeClass('active'); });

Related: See More


Questions / Comments: