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.3.6 included, to get the result that you can see in the preview selection
Download<div class="container bootstrap snippets bootdeys">
<div class="row">
<div class="col-md-12">
<div class="bg-picture" style="background-image:url('https://www.bootdey.com/image/700x300/')">
<span class="bg-picture-overlay"></span><!-- overlay -->
<!-- meta -->
<div class="box-layout meta bottom">
<div class="col-md-6 clearfix">
<span class="img-wrapper pull-left m-r-15"><img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="" style="width:64px" class="br-radius"></span>
<div class="media-body">
<h3 class="text-white mb-2 m-t-10 ellipsis">Deyson Bejarano</h3>
<h5 class="text-white"> @elgrones</h5>
</div>
</div>
<div class="col-md-6">
<div class="pull-right">
<div class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle btn btn-primary" href="#" aria-expanded="false"> Following <span class="caret"></span></a>
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<li><a href="#">Poke</a></li>
<li><a href="#">Private message</a></li>
<li class="divider"></li>
<li><a href="#">Unfollow</a></li>
</ul>
</div>
</div>
</div>
</div>
<!--/ meta -->
</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.3.6 included, to get the result that you can see in the preview selection
Downloadbody{
margin-top:60px;
background:#e9eaed;
}
.bg-picture {
position: relative;
min-height: 300px;
margin: -20px -25px 0px -25px;
background-repeat: no-repeat;
background-position: center;
-webkit-background-size: cover;
background-size: cover;
}
.bg-picture>.bg-picture-overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgeG1sbnM9Imh0d…0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2xlc3NoYXQtZ2VuZXJhdGVkKSIgLz48L3N2Zz4=);
background-image: -webkit-linear-gradient(top,rgba(255,255,255,0) 0,rgba(0,0,0,.4) 100%);
background-image: -o-linear-gradient(top,rgba(255,255,255,0) 0,rgba(0,0,0,.4) 100%);
background-image: -webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,0)),to(rgba(0,0,0,.4)));
background-image: linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(0,0,0,.4) 100%);
}
.bg-picture>.meta.bottom {
bottom: 10px;
}
.bg-picture>.meta {
position: absolute;
left: 0;
right: 0;
}
.box-layout {
display: table!important;
width: 100%;
table-layout: fixed;
border-spacing: 0;
}
.m-r-15 {
margin-right: 15px;
}
.media-body, .media-left, .media-right {
display: table-cell;
vertical-align: top;
}
.media-body {
width: 10000px;
}
.media, .media-body {
overflow: hidden;
zoom: 1;
}
.m-t-10 {
margin-top: 10px !important;
}
.text-white {
color: #ffffff;
}
.h3, h3 {
font-size: 24px;
}
.br-radius, .tiles, .tile-stats, .portlet {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
About this bootstrap example/template
This example/template, Cover Profile image with button, was published on Mar 18th 2016, 11:10 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 10.1K views, Using this bootstrap snippet you have the following benefits:
Bootstrap 3.3.6
<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>
<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'></script>
This code example is based on bootstrap 3.3.6 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