HTML code
Clean, semantic HTML that powers this Bootstrap 3.3.7 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.
Download<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<div class="container bootstrap snippets bootdeys">
<div class="row">
<div class="col-xs-12 col-sm-9">
<form class="form-horizontal">
<div class="panel panel-default">
<div class="panel-body text-center">
<img src="https://bootdey.com/img/Content/avatar/avatar6.png" class="img-circle profile-avatar" alt="User avatar">
</div>
</div>
<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">Current 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>
</div>CSS code
Scoped CSS that styles the component. Paste it after Bootstrap 3.3.7 to keep the design, spacing, and responsiveness consistent.
Download
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;
}
.profile-avatar {
width: 200px;
position: relative;
margin: 0px auto;
margin-top: 196px;
border: 4px solid #f3f3f3;
}FAQ
How do I use this snippet?
Include Bootstrap 3.3.7, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.
Can I use it in commercial projects?
Yes. It’s free for personal and commercial work; check the snippets license for details.
Is it responsive?
Yes. It inherits the responsive grid and components from Bootstrap 3.3.7.
About this bootstrap example/template
This free Bootstrap 3.3.7 snippet, Edit profile page, was published on Oct 24th 2016, 10:26 by Bootdey Admin.
Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.
Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.
Already trusted in 57.9K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.
Bootstrap 3.3.7
<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'>
<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js'></script>
This code example is based on bootstrap 3.3.7 and the grid system of this framework
Responsive
Based on bootstrap framework makes all the layouts perfectly responsive for all devices
Crossbrowser compatibility
Tested on all major browsers, it works smoothly on all of them
semantic html 5
Built on html / css3 the code quality is really amazing
Simple Integration
This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working