Foundation zurb snippet: Simple login form

designed to help people of all skill levels - designer or developer, huge nerd or early beginner.
copy and paste the code. Use it as a complete kit or use it to start something more complex.
tags: login,form



<div class="row"> <div class="main"> <h3>Please Log In, or <a href="#">Sign Up</a></h3> <div class="row"> <div class="large-6 small-6 columns"> <a href="#" class="button large">Facebook</a> </div> <div class="large-5 small-5 columns large-offset-1 small-offset-1"> <a href="#" class="button alert large">Google</a> </div> </div> <div class="login-or"> <hr class="hr-or"> <span class="span-or">or</span> </div> <form role="form"> <label> Username <input type="text"> </label> <label> Password <input type="password"> </label> <label> <input type="checkbox"> Remember me </label> <button type="submit" class="button"> Log In </button> </form> </div> </div>
body { padding-top: 15px; font-size: 12px } .main { max-width: 320px; margin: 0 auto; } .login-or { position: relative; font-size: 18px; color: #aaa; margin-top: 10px; margin-bottom: 10px; padding-top: 10px; padding-bottom: 10px; } .span-or { display: block; position: absolute; left: 50%; top: -2px; margin-left: -25px; background-color: #fff; width: 50px; text-align: center; } .hr-or { background-color: #cdcdcd; height: 1px; margin-top: 0px !important; margin-bottom: 0px !important; } h3 { text-align: center; line-height: 300%; } h3 { text-align: center; line-height: 300%; } h3, .h3 { font-size: 24px; } h1, h2, h3 { margin-top: 20px; margin-bottom: 10px; }
Dey-Dey

Simple login form

Dey-Dey
  May 13th, 21:54
60 Views