Bootstrap snippet and html example. Bootdey new snippets cards

Bootstrap 3.3.6 snippet "Bootdey new snippets cards" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: snippets,cards,images

HTML code

Clean, semantic HTML that powers this Bootstrap 3.3.6 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<div class="container bootstrap snippets bootdeys">
    <div class="col-md-4">
       <div class="card card-background">
            <div class="image" style="background-image: url(https://www.bootdey.com/image/266x200/87CEEB); background-size: cover; background-position: 50% 50%;">
                <div class="filter"></div>
            </div>
             <div class="content">
                <h5 class="price">user profile description
                     <a href="#" class="pull-right">
                        <i class="fa fa-heart"></i>3.3.5
                     </a>
                 </h5> 
            </div>
            <div class="footer">
               <div class="author">
                    <a href="#">
                       <span>Dey-Dey</span>
                    </a>
                </div>
               <div class="stats pull-right">
                    <i class="fa fa-eye"></i>  253                                
               </div>                           
            </div>
        </div>
    </div>
    
    <div class="col-md-4">
       <div class="card card-background">
            <div class="image" style="background-image: url(https://www.bootdey.com/image/266x200/4169E1); background-size: cover; background-position: 50% 50%;">
                <div class="filter"></div>
            </div>
             <div class="content">
                <h5 class="price">user profile description
                     <a href="#" class="pull-right">
                        <i class="fa fa-heart"></i>3.3.5
                     </a>
                 </h5> 
            </div>
            <div class="footer">
               <div class="author">
                    <a href="#">
                       <span>Dey-Dey</span>
                    </a>
                </div>
               <div class="stats pull-right">
                    <i class="fa fa-eye"></i>  253                                
               </div>                           
            </div>
        </div>
    </div>
    
    <div class="col-md-4">
       <div class="card card-background">
            <div class="image" style="background-image: url(https://www.bootdey.com/image/266x200/663399); background-size: cover; background-position: 50% 50%;">
                <div class="filter"></div>
            </div>
             <div class="content">
                <h5 class="price">user profile description
                     <a href="#" class="pull-right">
                        <i class="fa fa-heart"></i>3.3.5
                     </a>
                 </h5> 
            </div>
            <div class="footer">
               <div class="author">
                    <a href="#">
                       <span>Dey-Dey</span>
                    </a>
                </div>
               <div class="stats pull-right">
                    <i class="fa fa-eye"></i>  253                                
               </div>                           
            </div>
        </div>
    </div> 
    
    <div class="col-md-4">
       <div class="card card-background">
            <div class="image" style="background-image: url(https://www.bootdey.com/image/266x200/DA70D6); background-size: cover; background-position: 50% 50%;">
                <div class="filter"></div>
            </div>
             <div class="content">
                <h5 class="price">user profile description
                     <a href="#" class="pull-right">
                        <i class="fa fa-heart"></i>3.3.5
                     </a>
                 </h5> 
            </div>
            <div class="footer">
               <div class="author">
                    <a href="#">
                       <span>Dey-Dey</span>
                    </a>
                </div>
               <div class="stats pull-right">
                    <i class="fa fa-eye"></i>  253                                
               </div>                           
            </div>
        </div>
    </div> 
    
    <div class="col-md-4">
       <div class="card card-background">
            <div class="image" style="background-image: url(https://www.bootdey.com/image/266x200/FFA500); background-size: cover; background-position: 50% 50%;">
                <div class="filter"></div>
            </div>
             <div class="content">
                <h5 class="price">user profile description
                     <a href="#" class="pull-right">
                        <i class="fa fa-heart"></i>3.3.5
                     </a>
                 </h5> 
            </div>
            <div class="footer">
               <div class="author">
                    <a href="#">
                       <span>Dey-Dey</span>
                    </a>
                </div>
               <div class="stats pull-right">
                    <i class="fa fa-eye"></i>  253                                
               </div>                           
            </div>
        </div>
    </div>
    
    <div class="col-md-4">
       <div class="card card-background">
            <div class="image" style="background-image: url(https://www.bootdey.com/image/266x200/FF4500); background-size: cover; background-position: 50% 50%;">
                <div class="filter"></div>
            </div>
             <div class="content">
                <h5 class="price">user profile description
                     <a href="#" class="pull-right">
                        <i class="fa fa-heart"></i>3.3.5
                     </a>
                 </h5> 
            </div>
            <div class="footer">
               <div class="author">
                    <a href="#">
                       <span>Dey-Dey</span>
                    </a>
                </div>
               <div class="stats pull-right">
                    <i class="fa fa-eye"></i>  253                                
               </div>                           
            </div>
        </div>
    </div>
</div>

CSS code

Scoped CSS that styles the component. Paste it after Bootstrap 3.3.6 to keep the design, spacing, and responsiveness consistent.

body{margin-top:20px;
background:#f9f9f9;
}
.card {
    border-radius: 6px;
    background-color: #FFFFFF;
    margin-bottom: 20px;
    box-shadow: 0 25px 20px -21px rgba(0,0,0,0.57);
    margin-top:30px;
}
.card-background {
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.card-background .image {
    border-radius: 6px;
}
.card .image {
    width: 100%;
    overflow: hidden;
    height: 260px;
    border-radius: 6px 6px 0 0;
    position: relative;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.card .image img {
    width: 100%;
}

.card-background .filter {
    opacity: 0.20;
    filter: alpha(opacity=20.00000000000001);
    border-radius: 6px;
}
.card .filter {
    position: absolute;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.68);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}
.card-background:hover .filter {
    opacity: 0.65;
    filter: alpha(opacity=65);
}
.card-background .content, .card-background .footer {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
}
.card .content {
    padding: 15px 15px 10px 15px;
}
.card-background .price {
    margin: 0;
    color: #ffffff;
    font-weight:normal;
}
.card-background .title {
    margin-top: 30px;
    font-weight: 400;
}
.card-background .title, .card-background .stats, 
.card-background .category, 
.card-background .description, 
.card-background small, .card-background a {
    color: #ffffff;
}
.card .title {
    margin: 0 0 10px 0;
    color: #333333;
    font-weight: 300;
}
.card-background .footer {
    bottom: 0;
    top: auto;
    padding: 10px 15px;
    width: 100%;
    line-height: 40px;
    color: #ffffff;
}
.card .footer div {
    display: inline-block;
}
.card .author {
    font-size: 12px;
    text-transform: uppercase;
}

Similar snippets

Bootstrap example and template. bs4 card widget

bs4 card widget

Bootstrap example and template. image gellery

image gellery

Bootstrap example and template. social media resumen profile

social media resumen profile

Bootstrap example and template. bs4 ecommerce products

bs4 ecommerce products

Bootstrap example and template. profile edit data and skills

profile edit data and skills

Bootstrap example and template. Invoice with company info and description

Invoice with company info and description

Bootstrap example and template. Box shadow effect

Box shadow effect

Bootstrap example and template. Profile with timeline

Profile with timeline

FAQ

How do I use this snippet?

Include Bootstrap 3.3.6, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.

Can I use it in commercial projects?

Yes. It’s free for personal and commercial work; check the snippets license for details.

Is it responsive?

Yes. It inherits the responsive grid and components from Bootstrap 3.3.6.

Bootstrap example and template. Bootdey new snippets cards

About this bootstrap example/template

Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.

Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.

Already trusted in 10.3K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

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