Bootstrap snippet. bs4 widget image cards

This snippet was created to help web designers, front-end and back-end developer save time. Use it for free in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
Tags: widget,cards,bs4,images

HTML code

This is the html code used to create this bootstrap snippet, You can 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 bootdey">
    <div class="row flex-row">
        <div class="col-md-4 col-sm-6 col-remove">
            <div class="widget-image has-shadow">
                <div class="contact-card-2">
                    <div class="cover-bg">
                        <img src="https://via.placeholder.com/350x280/FFB6C1/000000" class="img-fluid" alt="...">
                    </div>
                    <div class="widget-body">
                        <div class="quick-actions hover">
                            <div class="dropdown">
                                <button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="dropdown-toggle">
                                    <i class="la la-ellipsis-h"></i>
                                </button>
                                <div class="dropdown-menu">
                                    <a href="#" class="dropdown-item remove">
                                        <i class="la la-trash"></i>Delete
                                    </a>
                                    <a href="#" class="dropdown-item">
                                        <i class="la la-edit"></i>Edit
                                    </a>
                                </div>
                            </div>
                        </div>
                        <div class="cover-image mx-auto">
                            <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="..." class="rounded-circle mx-auto">
                        </div>
                        <h4 class="name"><a href="#">Brandon Smith</a></h4>
                        <div class="job">Designer</div>
                        <div class="text-center pt-5 pb-3">
                            <a href="#" class="btn btn-shadow">Profile</a>
                            <a href="#" class="btn btn-shadow">Message</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="col-md-4 col-sm-6 col-remove">
            <div class="widget-image has-shadow">
                <div class="contact-card-2">
                    <div class="cover-bg">
                        <img src="https://via.placeholder.com/350x280/87CEFA/000000" class="img-fluid" alt="...">
                    </div>
                    <div class="widget-body">
                        <div class="quick-actions hover">
                            <div class="dropdown">
                                <button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="dropdown-toggle">
                                    <i class="la la-ellipsis-h"></i>
                                </button>
                                <div class="dropdown-menu">
                                    <a href="#" class="dropdown-item remove">
                                        <i class="la la-trash"></i>Delete
                                    </a>
                                    <a href="#" class="dropdown-item">
                                        <i class="la la-edit"></i>Edit
                                    </a>
                                </div>
                            </div>
                        </div>
                        <div class="cover-image mx-auto">
                            <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="..." class="rounded-circle mx-auto">
                        </div>
                        <h4 class="name"><a href="#">Brandon Smith</a></h4>
                        <div class="job">Designer</div>
                        <div class="text-center pt-5 pb-3">
                            <a href="#" class="btn btn-shadow">Profile</a>
                            <a href="#" class="btn btn-shadow">Message</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-md-4 col-sm-6 col-remove">
            <div class="widget-image has-shadow">
                <div class="contact-card-2">
                    <div class="cover-bg">
                        <img src="https://via.placeholder.com/350x280/FF7F50/000000" class="img-fluid" alt="...">
                    </div>
                    <div class="widget-body">
                        <div class="quick-actions hover">
                            <div class="dropdown">
                                <button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="dropdown-toggle">
                                    <i class="la la-ellipsis-h"></i>
                                </button>
                                <div class="dropdown-menu">
                                    <a href="#" class="dropdown-item remove">
                                        <i class="la la-trash"></i>Delete
                                    </a>
                                    <a href="#" class="dropdown-item">
                                        <i class="la la-edit"></i>Edit
                                    </a>
                                </div>
                            </div>
                        </div>
                        <div class="cover-image mx-auto">
                            <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="..." class="rounded-circle mx-auto">
                        </div>
                        <h4 class="name"><a href="#">Brandon Smith</a></h4>
                        <div class="job">Designer</div>
                        <div class="text-center pt-5 pb-3">
                            <a href="#" class="btn btn-shadow">Profile</a>
                            <a href="#" class="btn btn-shadow">Message</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body{
    margin-top:20px;
    background:#eee;
}
.has-shadow {
    box-shadow: 0 1px 15px 1px rgba(52,40,104,.08);
}
.widget-body {
    padding: 1.4rem
}

.flex-row>[class*='col-']>.widget-image {
    height: 100%
}
.widget-image:hover .quick-actions.hover {
    display: block
}
.rounded-widget .widget-image {
    border-radius: 4px
}
.widget-image {
    background: #fff;
    border-radius: 0;
    border: none;
    margin-bottom: 30px;
    position: relative
}

.contact-card-2 {
    margin-top: 0;
    position: relative
}

.contact-card-2 .cover-bg {
    display: block
}

.contact-card-2 .cover-bg>img {
    display: block;
    margin-bottom: 0;
    transition: all .25s ease-in-out
}

.contact-card-2 .cover-image {
    display: block;
    position: absolute;
    width: 100px;
    top: -50px;
    left: 0;
    right: 0
}

.contact-card-2 .cover-image>img {
    display: block;
    width: 100px;
    border: 6px solid #fff;
    transition: all .25s ease-in-out
}

.contact-card-2 .widget-body {
    position: relative
}

.contact-card-2 .name {
    color: #5d5386;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0;
    margin-top: 3rem;
    margin-bottom: 0;
    text-decoration: none;
    text-align: center
}

.contact-card-2 .job {
    color: #aea9c3;
    font-size: 1rem;
    text-align: center
}

.contact-card-2 .stats {
    margin-top: 1.4rem
}

.contact-card-2 .stats .counter {
    display: block;
    color: #5d5386;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center
}

.contact-card-2 .stats .text {
    color: #aea9c3;
    display: block;
    text-align: center
}

.contact-card-2 .btn-group {
    padding: 2rem 0 1.4rem
}

.contact-card-2 .quick-about {
    text-align: center;
    margin-top: 1.4rem
}

.contact-card-2 .quick-about h4 {
    color: #2c304d;
    font-weight: 600;
    margin-bottom: .4rem
}

.contact-card-2 .quick-about p {
    font-size: .9rem;
    margin: 0
}

.contact-card-2 .owl-dots {
    float: left;
    margin-top: 1.4rem;
    text-align: center;
    width: 100%
}

.contact-card-2 .owl-dots .owl-dot {
    border: 2px solid #aea9c3;
    border-radius: 50%;
    display: inline-block;
    height: 12px;
    margin: 0 .3rem;
    width: 12px;
    transition: all 0.3s ease 0s
}

.contact-card-2 .owl-dots .owl-dot:hover {
    border-color: #e76c90
}

.contact-card-2 .owl-dots .owl-dot.active {
    border: 2px solid #e76c90
}
.quick-actions.hover {
    z-index: 999;
    position: absolute;
    top: 10px;
    right: 20px;
    display: none;
}
.quick-actions .dropdown-toggle {
    color: #98a8b4;
    background: none;
    border: none;
    padding: 0;
    font-size: 1.7rem;
}
.quick-actions .dropdown-menu {
    border: none;
    min-width: auto;
    font-size: 1rem;
    border-radius: 4px;
    padding: 1.4rem 1.8rem;
    text-align: left;
    box-shadow: 1px 1px 30px rgba(0,0,0,.15);
}
.quick-actions .dropdown-menu .dropdown-item {
    padding: .5rem 0;
}
.quick-actions .dropdown-menu a {
    color: #2c304d;
    font-weight: 500;
}
.quick-actions .dropdown-menu a i {
    font-size: 1.4rem;
    vertical-align: -2px;
    color: #2c304d;
    margin-right: .7rem;
    transition: all 0.4s ease;
}
.quick-actions .dropdown-menu .dropdown-item {
    padding: .5rem 0;
}
.quick-actions .dropdown-menu a {
    color: #2c304d;
    font-weight: 500;
}
.contact-card-2 .cover-image {
    display: block;
    position: absolute;
    width: 100px;
    top: -50px;
    left: 0;
    right: 0;
}
.contact-card-2 .name {
    color: #5d5386;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0;
    margin-top: 3rem;
    margin-bottom: 0;
    text-decoration: none;
    text-align: center;
}
.btn-gradient-01, .btn-gradient-01 a {
    background: #e23f83;
    background: linear-gradient(to right,#e23f83 0%,#ea5844 100%);
    background-size: 200% auto;
    font-weight: 600;
    transition: 0.5s;
    color: #fff;
    border: 0 none;
    padding: 12px 20px;
}
.btn-shadow, .btn-shadow a {
    color: #5d5386;
    background-color: #fff;
    border-color: #fff;
    box-shadow: 0 1px 15px 1px rgba(52,40,104,.15);
}

Similar snippets

Bootstrap user profile details example

user profile details

Bootstrap bs4 crud users example

bs4 crud users

Bootstrap team members cards example

team members cards

Bootstrap profile tab widget example

profile tab widget

Bootstrap white chat example

white chat

Bootstrap profile with data and skills example

profile with data and skills

Bootstrap profile edit data and skills example

profile edit data and skills

Bootstrap bs4 card widget example

bs4 card widget

Bootstrap bs4 widget image cards example

About this bootstrap snippet

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 snippet currectly have 3.8K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 4.1.1

This snippet is based on bootstrap 4.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

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working