HTML code
This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 3.2.0 included, to get the result that you can see in the preview selection
Download<div class="container bootstrap snippets bootdey">
<div class="col-sm-4">
<!-- Begin user profile -->
<div class="box-info text-center user-profile-2">
<div class="header-cover">
<img src="https://www.bootdey.com/image/350x280/FFB6C1/000000" alt="User cover">
</div>
<div class="user-profile-inner">
<h4 class="white">Jonny doe</h4>
<img src="https://bootdey.com/img/Content/avatar/avatar7.png" class="img-circle profile-avatar" alt="User avatar">
<h5>Administrator</h5>
<!-- User button -->
<div class="user-button">
<div class="row">
<div class="col-md-6">
<button type="button" class="btn btn-primary btn-sm btn-block"><i class="fa fa-envelope"></i> Send Message</button>
</div>
<div class="col-md-6">
<button type="button" class="btn btn-default btn-sm btn-block"><i class="fa fa-user"></i> Add as friend</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-4">
<!-- Begin user profile -->
<div class="box-info text-center user-profile-2">
<div class="header-cover">
<img src="https://www.bootdey.com/image/350x280/87CEFA/000000" alt="User cover">
</div>
<div class="user-profile-inner">
<h4 class="white">Jonny doe</h4>
<img src="https://bootdey.com/img/Content/avatar/avatar1.png" class="img-circle profile-avatar" alt="User avatar">
<h5>Administrator</h5>
<!-- User button -->
<div class="user-button">
<div class="row">
<div class="col-md-6">
<button type="button" class="btn btn-primary btn-sm btn-block"><i class="fa fa-envelope"></i> Send Message</button>
</div>
<div class="col-md-6">
<button type="button" class="btn btn-default btn-sm btn-block"><i class="fa fa-user"></i> Add as friend</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-4">
<!-- Begin user profile -->
<div class="box-info text-center user-profile-2">
<div class="header-cover">
<img src="https://www.bootdey.com/image/350x280/FF7F50/000000" alt="User cover">
</div>
<div class="user-profile-inner">
<h4 class="white">Jonny doe</h4>
<img src="https://bootdey.com/img/Content/avatar/avatar6.png" class="img-circle profile-avatar" alt="User avatar">
<h5>Administrator</h5>
<!-- User button -->
<div class="user-button">
<div class="row">
<div class="col-md-6">
<button type="button" class="btn btn-primary btn-sm btn-block"><i class="fa fa-envelope"></i> Send Message</button>
</div>
<div class="col-md-6">
<button type="button" class="btn btn-default btn-sm btn-block"><i class="fa fa-user"></i> Add as friend</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
CSS code
This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 3.2.0 included, to get the result that you can see in the preview selection
Downloadbody{
background:#EEEEEE;
}
.user-profile-2 {
text-align: center;
position: relative;
margin-top:10px;
}
.box-info {
position: relative;
padding: 15px;
background: #fff;
color: #5b5b5b;
margin-bottom: 20px;
-webkit-transition: All 0.4s ease;
-moz-transition: All 0.4s ease;
-o-transition: All 0.4s ease;
border-bottom:4px solid #DDDDDD;
}
.user-profile-2 .header-cover {
position: absolute;
left: 0;
top: 0;
right: 0;
height: 130px;
overflow: hidden;
z-index: 1;
}
.user-profile-2 .user-profile-inner {
z-index: 2;
position: relative;
}
.user-profile-2 .user-profile-inner h4.white {
color: #fff;
}
.user-profile-2 .user-profile-inner img.profile-avatar {
box-shadow: 0 0 0 5px rgba(255,255,255,1);
-moz-box-shadow: 0 0 0 5px rgba(255,255,255,1);
-webkit-box-shadow: 0 0 0 5px rgba(255,255,255,1);
border: none;
width:100px;
height:100px;
}
.user-button {
margin: 15px 0;
}
About this bootstrap example/template
This example/template, List user profiles, was published on Jul 15th 2014, 18:43 by Bootdey Admin and it is free.
We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.
We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.
This code example currectly have 19.8K views, Using this bootstrap snippet you have the following benefits:
Bootstrap 3.2.0
<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'>
<script src='https://netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js'></script>
This code example is based on bootstrap 3.2.0 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