Bootstrap snippet and html example. product card image tiles

Bootstrap 4.4.1 snippet "product card image tiles" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: product,card,tiles

HTML code

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

<div class="container pb-5 mb-sm-1">
    <!-- Categories grid-->
    <div class="row">
        <!-- Category-->
        <div class="col-md-4 col-sm-6">
            <div class="card border-0 mb-grid-gutter">
                <a class="card-img-tiles" href="shop-style1-ls.html">
                    <div class="main-img"><img src="https://www.bootdey.com/image/340x326/FF8C00/000000" alt="Clothing"></div>
                    <div class="thumblist"><img src="https://www.bootdey.com/image/175x164/FF8C00/000000" alt="Clothing"><img src="https://www.bootdey.com/image/175x164/FF8C00/000000" alt="Clothing"></div>
                </a>
                <div class="card-body border mt-n1 py-4 text-center">
                    <h2 class="h5 mb-1">Clothing</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$49.99</span></span><a class="btn btn-pill btn-outline-primary btn-sm" href="shop-style1-ls.html">Shop clothing</a>
                </div>
            </div>
        </div>
        <!-- Category-->
        <div class="col-md-4 col-sm-6">
            <div class="card border-0 mb-grid-gutter">
                <a class="card-img-tiles" href="shop-style1-ls.html">
                    <div class="main-img"><img src="https://www.bootdey.com/image/340x326/8A2BE2/000000" alt="Shoes"></div>
                    <div class="thumblist"><img src="https://www.bootdey.com/image/175x164/8A2BE2/000000" alt="Shoes"><img src="https://www.bootdey.com/image/175x164/8A2BE2/000000" alt="Shoes"></div>
                </a>
                <div class="card-body border mt-n1 py-4 text-center">
                    <h2 class="h5 mb-1">Shoes</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$56.00</span></span><a class="btn btn-pill btn-outline-primary btn-sm" href="shop-style1-ls.html">Shop shoes</a>
                </div>
            </div>
        </div>
        <!-- Category-->
        <div class="col-md-4 col-sm-6">
            <div class="card border-0 mb-grid-gutter">
                <a class="card-img-tiles" href="shop-style1-ls.html">
                    <div class="main-img"><img src="https://www.bootdey.com/image/340x326/6495ED/000000" alt="Bags"></div>
                    <div class="thumblist"><img src="https://www.bootdey.com/image/175x164/6495ED/000000" alt="Bags"><img src="https://www.bootdey.com/image/175x164/6495ED/000000" alt="Bags"></div>
                </a>
                <div class="card-body border mt-n1 py-4 text-center">
                    <h2 class="h5 mb-1">Bags</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$27.00</span></span><a class="btn btn-pill btn-outline-primary btn-sm" href="shop-style1-ls.html">Shop bags</a>
                </div>
            </div>
        </div>
        <!-- Category-->
        <div class="col-md-4 col-sm-6">
            <div class="card border-0 mb-grid-gutter">
                <a class="card-img-tiles" href="shop-style1-ls.html">
                    <div class="main-img"><img src="https://www.bootdey.com/image/340x326/FF7F50/000000" alt="Sunglasses"></div>
                    <div class="thumblist"><img src="https://www.bootdey.com/image/175x164/FF7F50/000000" alt="Sunglasses"><img src="https://www.bootdey.com/image/175x164/FF7F50/000000" alt="Sunglasses"></div>
                </a>
                <div class="card-body border mt-n1 py-4 text-center">
                    <h2 class="h5 mb-1">Sunglasses</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$35.99</span></span><a class="btn btn-pill btn-outline-primary btn-sm" href="shop-style1-ls.html">Shop sunglasses</a>
                </div>
            </div>
        </div>
        <!-- Category-->
        <div class="col-md-4 col-sm-6">
            <div class="card border-0 mb-grid-gutter">
                <a class="card-img-tiles" href="shop-style1-ls.html">
                    <div class="main-img"><img src="https://www.bootdey.com/image/340x326/008B8B/000000" alt="Hats"></div>
                    <div class="thumblist"><img src="https://www.bootdey.com/image/175x164/008B8B/000000" alt="Hats"><img src="https://www.bootdey.com/image/175x164/008B8B/000000" alt="Hats"></div>
                </a>
                <div class="card-body border mt-n1 py-4 text-center">
                    <h2 class="h5 mb-1">Hats</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$14.50</span></span><a class="btn btn-pill btn-outline-primary btn-sm" href="shop-style1-ls.html">Shop hats</a>
                </div>
            </div>
        </div>
        <!-- Category-->
        <div class="col-md-4 col-sm-6">
            <div class="card border-0 mb-grid-gutter">
                <a class="card-img-tiles" href="shop-style1-ls.html">
                    <div class="main-img"><img src="https://www.bootdey.com/image/340x326/9932CC/000000" alt="Gloves"></div>
                    <div class="thumblist"><img src="https://www.bootdey.com/image/175x164/9932CC/000000" alt="Gloves"><img src="https://www.bootdey.com/image/175x164/9932CC/000000" alt="Gloves"></div>
                </a>
                <div class="card-body border mt-n1 py-4 text-center">
                    <h2 class="h5 mb-1">Gloves</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$10.45</span></span><a class="btn btn-pill btn-outline-primary btn-sm" href="shop-style1-ls.html">Shop accessories</a>
                </div>
            </div>
        </div>
    </div>
</div>

CSS code

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

body{
    background:#f5f5f5;
    margin-top:20px;}

.card-img-tiles {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    background-color: #fff;
    z-index: 5
}

.card-img-tiles .main-img>img,
.card-img-tiles .thumblist>img {
    display: block;
    width: 100%
}

.card-img-tiles .main-img {
    width: 67%;
    padding-right: .375rem
}

.card-img-tiles .thumblist {
    width: 33%;
    padding-left: .375rem
}

.card-img-tiles .thumblist>img {
    margin-bottom: .75rem
}

.card-img-tiles .thumblist>img:last-child {
    margin-bottom: 0
}

.mb-grid-gutter {
    margin-bottom: 30px !important;
}

Similar snippets

Bootstrap example and template. User grid

User grid

Bootstrap example and template. light contact list

light contact list

Bootstrap example and template. bs4 Latest Updates card

bs4 Latest Updates card

Bootstrap example and template. contacts card

contacts card

Bootstrap example and template. bs4 crud users

bs4 crud users

Bootstrap example and template. bs4 seller cards

bs4 seller cards

Bootstrap example and template. bs4 timeline color row

bs4 timeline color row

Bootstrap example and template. bs4 activity list

bs4 activity list

FAQ

How do I use this snippet?

Include Bootstrap 4.4.1, 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 4.4.1.

Bootstrap example and template. product card image tiles

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 16.7K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 4.4.1

<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 4.4.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

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