"my_registration_form"
Bootstrap 3.1.0 Snippet by ashutosh123

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row centered-form"> <div class="col-xs-12 col-sm-8 col-md-4 col-sm-offset-2 col-md-offset-4"> <div class="panel panel-default"> <div class="panel-heading"> <center><h3 class="panel-title">Sign up for Colo21</h3></center> </div> <div class="panel-body"> <form role="form"> <div class="row"> <div class="col-xs-6 col-sm-6 col-md-6"> <div class="form-group"> <label>First name</label> <input type="text" name="first_name" id="first_name" class="form-control input-sm" placeholder="First Name"> </div> </div> <div class="col-xs-6 col-sm-6 col-md-6"> <div class="form-group"> <label>Last name</label> <input type="text" name="last_name" id="last_name" class="form-control input-sm" placeholder="Last Name"> </div> </div> </div> <div class="form-group"> <label>Email address</label> <input type="email" name="email" id="email" class="form-control input-sm" placeholder="Email Address"> </div> <div class="row"> <div class="col-xs-6 col-sm-6 col-md-6"> <div class="form-group"> <label>Password</label> <input type="password" name="password" id="password" class="form-control input-sm" placeholder="Password"> </div> </div> <div class="col-xs-6 col-sm-6 col-md-6"> <div class="form-group"> <label>Confirm password</label> <input type="password" name="password_confirmation" id="password_confirmation" class="form-control input-sm" placeholder="Confirm Password"> </div> </div> </div> <div class="form-group"> <label>Company</label> <input type="company" name="company" id="company" class="form-control input-sm" placeholder="Company"> </div> <div class="form-group"> <label>Adress</label> <input type="adress" name="adress" id="adress" class="form-control input-sm" placeholder="Adress"> </div> <div class="row"> <div class="col-xs-6 col-sm-6 col-md-6"> <div class="form-group"> <label>City</label> <input type="city" name="city" id="city" class="form-control input-sm" placeholder="City"> </div> </div> <div class="col-xs-6 col-sm-6 col-md-6"> <div class="form-group"> <label>ZIP Code</label> <input type="zip_code" name="zip_code" id="zip_code" class="form-control input-sm" placeholder="ZIP Code"> </div> </div> </div> <div class="form-group"> <label>Country</label> <input type="country" name="country" id="country" class="form-control input-sm" placeholder="Country"> </div> <input type="submit" value="Register" class="btn btn-info btn-block"> </form> </div> </div> </div> </div> </div>
body{ background-color: #525252; } .centered-form{ margin-top: 60px; } .centered-form .panel{ background: rgba(255, 255, 255, 0.8); box-shadow: rgba(0, 0, 0, 0.3) 20px 20px 20px; } label { font-weight: normal; }

Related: See More


Questions / Comments: