Bootstrap snippet and html example. cards with numbers

This html snippet was created to help web designers, web developers, 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: cards

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 5.2.0 included, to get the result that you can see in the preview selection

<div class="container">
    <div class="row">
        <div class="col-md-6">
            <div class="card">
                <div class="position-relative overflow-hidden h-200px">
                    <img src="https://www.bootdey.com/image/1352x300/00FFFF/000000" class="card-img rounded-top" alt="">
                    <div class="card-img-overlay text-center text-white bg-black bg-opacity-60 d-flex align-items-center flex-column justify-content-center rounded-0 rounded-top">
                        <div class="my-3 pt-5">
                            <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="" width="100" class="rounded-circle">
                        </div>
                        <div>
                            <div class="fw-bold">Maurice Patterson</div>
                            <div class="fs-12px text-white text-opacity-75">Never give up</div>
                        </div>
                    </div>
                </div>
                <div class="card-body py-10px">
                    <div class="row text-center">
                        <div class="col-4">
                            <div class="fw-semibold fs-5">415</div>
                            <div class="small">posts</div>
                        </div>
                        <div class="col-4">
                            <div class="fw-semibold fs-5">140k</div>
                            <div class="small">followers</div>
                        </div>
                        <div class="col-4">
                            <div class="fw-semibold fs-5">697</div>
                            <div class="small">following</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="col-md-6">
            <div class="card">
                <div class="position-relative overflow-hidden h-200px">
                    <img src="https://www.bootdey.com/image/1352x300/00FFFF/000000" class="card-img rounded-top" alt="">
                    <div class="card-img-overlay text-center text-white bg-black bg-opacity-60 d-flex align-items-center flex-column justify-content-center rounded-0 rounded-top">
                        <div class="my-3 pt-5">
                            <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="" width="100" class="rounded-circle">
                        </div>
                        <div>
                            <div class="fw-bold">Maurice Patterson</div>
                            <div class="fs-12px text-white text-opacity-75">Never give up</div>
                        </div>
                    </div>
                </div>
                <div class="card-body py-10px">
                    <div class="row text-center">
                        <div class="col-4">
                            <div class="fw-semibold fs-5">415</div>
                            <div class="small">posts</div>
                        </div>
                        <div class="col-4">
                            <div class="fw-semibold fs-5">140k</div>
                            <div class="small">followers</div>
                        </div>
                        <div class="col-4">
                            <div class="fw-semibold fs-5">697</div>
                            <div class="small">following</div>
                        </div>
                    </div>
                </div>
            </div>
        </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 5.2.0 included, to get the result that you can see in the preview selection

body{padding-top:20px;
background-color: rgba(235, 238, 255, 1) !important;
}

Similar snippets

Bootstrap example and template. Cards panels with thumbnails

Cards panels with thumbnails

Bootstrap example and template. Bootdey new snippets cards

Bootdey new snippets cards

Bootstrap example and template. bs4 sevices page

bs4 sevices page

Bootstrap example and template. bs4 card widget

bs4 card widget

Bootstrap example and template. account setting or edit profile

account setting or edit profile

Bootstrap example and template. bs4 shop product list

bs4 shop product list

Bootstrap example and template. tickets timeline

tickets timeline

Bootstrap example and template. Social Sharing Buttons with counter

Social Sharing Buttons with counter

Bootstrap example and template. cards with numbers

About this bootstrap example/template

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

Bootstrap 5.2.0

<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>

<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>

This code example is based on bootstrap 5.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