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">
<h1 class="text-center text-primary title">Learn about our projects</h1>
<hr class="divider-title">
<div class="col-ms-10 col-md-4">
<div class="project">
<figure class="img-responsive">
<img src="https://www.bootdey.com/image/400x300/FFB6C1/000000">
<figcaption>
<span class="project-details">Full project name</span>
<span class="project-price"><strong>$100</strong></span>
<span class="project-creator">creator name</span>
</figcaption>
<span class="actions">
<button class="btn btn-warning bnt-action" type="submit" >View </button>
</span>
</figure>
</div>
</div>
<div class="col-ms-10 col-md-4">
<div class="project">
<figure class="img-responsive">
<img src="https://www.bootdey.com/image/400x300/87CEFA/000000">
<figcaption>
<span class="project-details">Full project name</span>
<span class="project-price"><strong>$100</strong></span>
<span class="project-creator">creator name</span>
</figcaption>
<span class="actions">
<button class="btn btn-warning bnt-action" type="submit" >View </button>
</span>
</figure>
</div>
</div>
<div class="col-ms-10 col-md-4">
<div class="project">
<figure class="img-responsive">
<img src="https://www.bootdey.com/image/400x300/FF7F50/000000">
<figcaption>
<span class="project-details">Full project name</span>
<span class="project-price"><strong>$100</strong></span>
<span class="project-creator">creator name</span>
</figcaption>
<span class="actions">
<button class="btn btn-warning bnt-action" type="submit" >View </button>
</span>
</figure>
</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:#eee;;
}
.title{
text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.4) !important;
}
.divider-title{
border:1px solid #dddddd;
}
.project {
margin-bottom: 30px;
vertical-align: top;
margin-right: 30px;
float: left;
cursor: pointer;
width:100%;
}
.project figure {
position: relative;
display: inline-block;
width: 283px;
-moz-box-shadow: 0 3px 0 #e2e2e2,transparent 0 0 0;
-webkit-box-shadow: 0 3px 0 #e2e2e2,transparent 0 0 0;
box-shadow: 0 3px 0 #e2e2e2,transparent 0 0 0;
-webkit-box-shadow: 0 3px 0 #e2e2e2;
-moz-box-shadow: 0 3px 0 #e2e2e2;
box-shadow: 0 3px 0 #e2e2e2;
}
.project figure figcaption {
position: relative;
z-index: 10;
padding: 8px 18px 11px;
background: #fff;
-ms-transition: all .2s ease-out;
-webkit-transition: all .2s ease-out;
-moz-transition: all .2s ease-out;
-o-transition: all .2s ease-out;
transition: all .2s ease-out;
text-align: left;
color: #555;
}
.project figure:hover .actions {
opacity: 1;
}
.project figure .actions {
display: block;
position: absolute;
top: 0;
z-index: 1;
width: 100%;
height: 100%;
opacity: 0;
background-color: rgba(29,29,29,.7);
-ms-transition: all .2s ease-out;
-webkit-transition: all .2s ease-out;
-moz-transition: all .2s ease-out;
-o-transition: all .2s ease-out;
transition: all .2s ease-out;
}
.project figure img {
border: 0;
width: 100%;
}
.btn-warning bnt-action{
margin: 0% 0% auto;
}
figcaption .project-details {
display: block;
font-size: 16px;
line-height: 33px;
color: #0093d0;
height: 27px;
width: 85%;
margin-bottom: 5px;
overflow: hidden;
}
figcaption .project-price {
position: absolute;
right: 15px;
top: 12px;
font-size: 22px;
text-align: right;
margin-top: 8px;
letter-spacing: -1px;
-webkit-font-smoothing: antialiased;
}
figcaption .project-creator {
font-size: 13px;
color: #545454;
display: block;
}
figcaption .project-creator {
font-size: 13px;
color: #545454;
display: block;
}
.project figure .actions button {
padding: 13px 20px;
font-size: 16px;
top: 32%;
position: absolute;
left: 50%;
width: 90%;
margin-left: -45%;
line-height: 18px;
letter-spacing: 1px;
}
About this bootstrap example/template
This example/template, Projects list with view on hover, was published on Jul 12th 2014, 13:25 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.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