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.1.1 included, to get the result that you can see in the preview selection
Download<div class="container bootstrap snippets bootdey">
<div class="row">
<div class="col-sm-8 col-md-9 col-lg-9 text-center">
<h1 class="text-primary"><b>Portfolio</b></h1>
</div>
</div>
<div class="row">
<div class="media">
<div class="row">
<div class="media-img col-sm-4 col-md-3 col-lg-3">
<div class="img-overlay">
<a href="#" class="btn btn-primary">Details</a>
</div>
<img class="port-image" src="https://www.bootdey.com/image/400x400/87CEEB/000000">
</div>
<div class="col-sm-8 col-md-9 col-lg-9">
<h3>
<a href="#">
Portfolio name
</a>
</h3>
<h6>
<span class="Newsletter">Newsletter</span>
<span class="sep">/</span>
<span class="Web Design">Web Design</span>
<span class="sep">/</span>
</h6>
<p>
A complete description for this work y para no utilizar lorem ipsum escribire mucho texto por ejemplo Bootdey es una galería de fragmentos de bootstrap gratis Códigos html Css Js
</p>
</div>
</div>
</div>
<div class="media">
<div class="row">
<div class="media-img col-sm-4 col-md-3 col-lg-3">
<div class="img-overlay">
<a href="#" class="btn btn-primary">Details</a>
</div>
<img class="port-image" src="https://www.bootdey.com/image/400x400/6A5ACD/000000">
</div>
<div class="col-sm-8 col-md-9 col-lg-9">
<h3>
<a href="#">
Portfolio name
</a>
</h3>
<h6>
<span class="Newsletter">Newsletter</span>
<span class="sep">/</span>
<span class="Web Design">Web Design</span>
<span class="sep">/</span>
</h6>
<p>
A complete description for this work y para no utilizar lorem ipsum escribire mucho texto por ejemplo Bootdey es una galería de fragmentos de bootstrap gratis Códigos html Css Js
</p>
</div>
</div>
</div>
<div class="media">
<div class="row">
<div class="media-img col-sm-4 col-md-3 col-lg-3">
<div class="img-overlay">
<a href="#" class="btn btn-primary">Details</a>
</div>
<img class="port-image" src="https://www.bootdey.com/image/400x400/FF4500/000000">
</div>
<div class="col-sm-8 col-md-9 col-lg-9">
<h3>
<a href="#">
Portfolio name
</a>
</h3>
<h6>
<span class="Newsletter">Newsletter</span>
<span class="sep">/</span>
<span class="Web Design">Web Design</span>
<span class="sep">/</span>
</h6>
<p>
A complete description for this work y para no utilizar lorem ipsum escribire mucho texto por ejemplo Bootdey es una galería de fragmentos de bootstrap gratis Códigos html Css Js
</p>
</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.1.1 included, to get the result that you can see in the preview selection
Download@import url('http://fonts.googleapis.com/css?family=Open+Sans:200,300');
body{
font-family: 'Open Sans',Arial,Helvetica,Sans-Serif;
background: none repeat scroll 0 0 #ebeeed;
}
.port-image{
width:400px;
height:400px;
}
.media {
background: none repeat scroll 0 0 #fff;
border-bottom: 1px solid #c7c9c8;
margin-bottom: 30px;
}
.media a {
overflow: hidden;
}
.media-img {
overflow: hidden;
padding: 0;
position: relative;
}
.media-img .img-overlay {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.4);
height: 100%;
opacity: 0;
padding-top: 50%;
position: absolute;
text-align: center;
transition: opacity 0.3s ease-out 0s;
visibility: hidden;
width: 100%;
z-index: 4;
}
.media:hover .img-overlay a, .media .img-overlay:hover a {
display: inline-block;
}
.media:hover .img-overlay, .media .media-img:hover .img-overlay {
opacity: 1;
transition: opacity 0.3s ease-out 0s;
visibility: visible;
}
.media div.media-img img {
height: auto;
transform: scale(1, 1);
transition-duration: 2000ms;
transition-timing-function: ease-out;
width: 100%;
}
About this bootstrap example/template
This example/template, Portfolio with details on hover, was published on Jul 7th 2014, 00:55 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.9K views, Using this bootstrap snippet you have the following benefits:
Bootstrap 3.1.1
<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css'>
<script src='https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js'></script>
This code example is based on bootstrap 3.1.1 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