Projects list with view on hover

This bootstrap snippet called "Projects list with view on hover" was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code
tags: list,projects

HTML code

Copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<div class="container bootstrap snippet">
    <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://lorempixel.com/400/300/sports/6/">
                <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://lorempixel.com/400/300/city/2/">
                <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://lorempixel.com/400/300/fashion/5/">
                <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

Copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body{
    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;
}                    
                                    

Similar snippets

Bootstrap snippet bs4 project list

bs4 project list

View

Bootstrap snippet bs4 new friends panel

bs4 new friends panel

View

Bootstrap snippet bs4 project grid

bs4 project grid

View

About this snippet

Creator: Dey Dey

Bootstrap version: 3.2.0

Created: Jul 12th 2014, 13:25

Views: 3.8K

Rated 5/5 based on 2 reviews