Bootstrap snippet: Edit profile page

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: form,edit profile

<link href="" rel="stylesheet"> <div class="container bootstrap snippets"> <div class="row"> <div class="col-xs-12 col-sm-9"> <form class="form-horizontal"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title">User info</h4> </div> <div class="panel-body"> <div class="form-group"> <label class="col-sm-2 control-label">Location</label> <div class="col-sm-10"> <select class="form-control"> <option selected="">Select country</option> <option>Belgium</option> <option>Canada</option> <option>Denmark</option> <option>Estonia</option> <option>France</option> </select> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">Company name</label> <div class="col-sm-10"> <input type="text" class="form-control"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">Position</label> <div class="col-sm-10"> <input type="text" class="form-control"> </div> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title">Contact info</h4> </div> <div class="panel-body"> <div class="form-group"> <label class="col-sm-2 control-label">Work number</label> <div class="col-sm-10"> <input type="tel" class="form-control"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">Mobile number</label> <div class="col-sm-10"> <input type="tel" class="form-control"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">E-mail address</label> <div class="col-sm-10"> <input type="email" class="form-control"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">Work address</label> <div class="col-sm-10"> <textarea rows="3" class="form-control"></textarea> </div> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title">Security</h4> </div> <div class="panel-body"> <div class="form-group"> <label class="col-sm-2 control-label">Old password</label> <div class="col-sm-10"> <input type="password" class="form-control"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">New password</label> <div class="col-sm-10"> <input type="password" class="form-control"> </div> </div> <div class="form-group"> <div class="col-sm-10 col-sm-offset-2"> <div class="checkbox"> <input type="checkbox" id="checkbox_1"> <label for="checkbox_1">Make this account public</label> </div> </div> </div> <div class="form-group"> <div class="col-sm-10 col-sm-offset-2"> <button type="submit" class="btn btn-primary">Submit</button> <button type="reset" class="btn btn-default">Cancel</button> </div> </div> </div> </div> </form> </div> <div class="col-xs-12 col-sm-3"> <div class="profile__contact-info"> <div class="profile__contact-info-item"> <div class="profile__contact-info-icon"> <i class="fa fa-comment"></i> </div> <div class="profile__contact-info-body"> <h5 class="profile__contact-info-heading"> Quick tip </h5> This form contains some of the common profile fields you are encouraged to edit to suit your needs. </div> </div> </div> </div> </div> </div>
body{ margin-top:20px; background:#f5f5f5; } /** * Panels */ /*** General styles ***/ .panel { box-shadow: none; } .panel-heading { border-bottom: 0; } .panel-title { font-size: 17px; } .panel-title > small { font-size: .75em; color: #999999; } .panel-body *:first-child { margin-top: 0; } .panel-footer { border-top: 0; } .panel-default > .panel-heading { color: #333333; background-color: transparent; border-color: rgba(0, 0, 0, 0.07); } form label { color: #999999; font-weight: 400; } .form-horizontal .form-group { margin-left: -15px; margin-right: -15px; } @media (min-width: 768px) { .form-horizontal .control-label { text-align: right; margin-bottom: 0; padding-top: 7px; } } .profile__contact-info-icon { float: left; font-size: 18px; color: #999999; } .profile__contact-info-body { overflow: hidden; padding-left: 20px; color: #999999; }

Edit profile page

  Oct 24th, 10:26