Bootstrap snippet. card features

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: card

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 lg padding-20px-tb">

        <div class="row">

            <div class="col-md-4 xs-margin-30px-bottom">
                <div class="card categories-card">
                    <div class="card-img"><img src="https://via.placeholder.com/550x420/FFB6C1/000000" alt=""></div>

                    <div class="card-img-overlay align-items-center">
                        <div class="bg-white-opacity">

                            <h3><a href="#!">Home Decor</a></h3>
                            <ul class="categories-02">
                                <li><a href="#!" class="line position-relative">Sofa</a></li>
                                <li><a href="#!" class="line position-relative">Lamp</a></li>
                                <li>
                                    <a href="#!">More</a>
                                </li>
                            </ul>

                        </div>
                    </div>

                </div>
            </div>

            <div class="col-md-4 xs-margin-30px-bottom">
                <div class="card categories-card">
                    <div class="card-img"><img src="https://via.placeholder.com/550x420/87CEFA/000000" alt=""></div>

                    <div class="card-img-overlay align-items-center">
                        <div class="bg-white-opacity">

                            <h3><a href="#!">Gadgets</a></h3>
                            <ul class="categories-02">
                                <li><a href="#!" class="line position-relative">Mobile</a></li>
                                <li><a href="#!" class="line position-relative">Laptop</a></li>
                                <li>
                                    <a href="#!">More</a>
                                </li>
                            </ul>

                        </div>
                    </div>

                </div>
            </div>

            <div class="col-md-4">
                <div class="card categories-card">
                    <div class="card-img"><img src="https://via.placeholder.com/550x420/FF7F50/000000" alt=""></div>

                    <div class="card-img-overlay align-items-center">
                        <div class="bg-white-opacity">

                            <h3><a href="#!">Footware</a></h3>
                            <ul class="categories-02">
                                <li><a href="#!" class="line position-relative">Flats</a></li>
                                <li><a href="#!" class="line position-relative">Heels</a></li>
                                <li>
                                    <a href="#!">More</a>
                                </li>
                            </ul>

                        </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:#f5f5f5;
}

.categories-card.card {
    border: none;
    box-shadow: none
}

.categories-card .card-img-overlay {
    display: flex
}

.categories-card .card-img-overlay>* {
    flex: 1
}

.categories-card h3 {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px
}

.categories-card .bg-white-opacity {
    text-align: center;
    padding: 20px 20px 18px 20px
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
}

.bg-white-opacity {
    background-color: rgba(255,255,255,0.85);
}

.categories-02 {
    padding: 0;
    margin: 0;
}

.categories-02 li {
    display: inline-block;
    margin-right: 20px;
    font-size: 14px;
    font-weight: 600;
    opacity: .8;
    vertical-align: middle;
}

.categories-02 li a {
    color: rgba(0,0,0,0.85);
}

a, a:active, a:focus {
    color: #5e6973;
    text-decoration: none;
    transition-timing-function: ease-in-out;
    -ms-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    -webkit-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-duration: .2s;
    -ms-transition-duration: .2s;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
}

.card-img, .card-img-bottom {
    border-bottom-right-radius: calc(.25rem - 1px);
    border-bottom-left-radius: calc(.25rem - 1px);
}
.card-img, .card-img-top {
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}
.card-img, .card-img-bottom, .card-img-top {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}











Similar snippets

Bootstrap single advisor profile example

single advisor profile

Bootstrap bs4 Latest Updates card example

bs4 Latest Updates card

Bootstrap blog post image widget example

blog post image widget

Bootstrap bs4 profile header card example

bs4 profile header card

Bootstrap Messages or conversations example

Messages or conversations

Bootstrap shop product detail example

shop product detail

Bootstrap Invoice receipt example

Invoice receipt

Bootstrap bs4 light our pricing page example

bs4 light our pricing page

Free bootstrap example. card features

About this bootstrap snippet

This bootstrap snippet, card features, was published on Aug 15th 2020, 08:44 by Dey Dey 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 snippet currectly have 2.4K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 4.5.0

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

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