Bootstrap snippet and html example. Shop categories

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: shop,categories,products,bs4,table,list

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

<div class="container pb-5 mb-sm-2">
    <!-- Categories grid-->
    <div class="row no-gutters">
        <!-- Category-->
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#"><img class="d-block" src="https://www.bootdey.com/image/340x232/FF8C00/000000" alt="Computers &amp; Accessories"></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Computers &amp; Accessories</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$149.80</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#">Laptops &amp; Tablets<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Desktop Computers<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Computer Accessories<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Computer Components<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Networking Products<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        <!-- Category-->
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#"><img class="d-block" src="https://www.bootdey.com/image/340x232/7B68EE/000000" alt="TV, Video &amp; Audio"></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">TV, Video &amp; Audio</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$78.00</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#">Smart TV Sets<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Blue-Ray Players<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Sound Systems<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Home Theaters<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        <!-- Category-->
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#"><img class="d-block" src="https://www.bootdey.com/image/340x232/FA8072/000000" alt="Smartphones &amp; Tablets"></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Smartphones &amp; Tablets</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$127.00</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#">Apple iPhones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Android Smartphones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Apple iPads<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Android Tablets<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Phablets<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        <!-- Category-->
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#"><img class="d-block" src="https://www.bootdey.com/image/340x232/87CEFA/000000" alt="Cameras, Photo &amp; Videos"></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Cameras, Photo &amp; Video</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$210.00</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#">Photo Cameras<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Video Cameras<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Action Cameras<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Tripods &amp; Stands<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Lenses<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        <!-- Category-->
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#"><img class="d-block" src="https://www.bootdey.com/image/340x232/20B2AA/000000" alt="Headphones"></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Headphones</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$35.99</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#">Earbud Headphones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Over-Ear Headphones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Bluetooth Headphones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Sports &amp; Fitness Headphones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Noise-Cancelling Headphones<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        <!-- Category-->
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#"><img class="d-block" src="https://www.bootdey.com/image/340x232/FF69B4/000000" alt="Wearable Electronics"></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Wearable Electronics</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$79.50</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#">Smart Watches<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Fitness Trackers<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Smart Glasses<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        <!-- Category-->
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#"><img class="d-block" src="https://www.bootdey.com/image/340x232/FF8C00/000000" alt="Printers &amp; Ink"></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Printers &amp; Ink</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$54.00</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#">All-In-One<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Copying<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Faxing<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Photo Printing<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Printing Only<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Scanning<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a></div>
                </div>
            </div>
        </div>
        <!-- Category-->
        <div class="col-lg-3 col-sm-4 col-6 category-card border border-collapse">
            <div class="card border-0">
                <a class="d-block" href="#"><img class="d-block" src="https://www.bootdey.com/image/340x232/9932CC/000000" alt="Video Games"></a>
                <div class="card-body pb-2">
                    <h2 class="h6 mb-2">Video Games</h2><span class="d-block mb-3 font-size-xs text-muted">Starting from <span class="font-weight-semibold">$19.00</span></span>
                    <div class="list-group list-group-flush font-size-sm"><a class="list-group-item list-group-item-action" href="#">PlayStation 4<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Xbox One<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Nintendo Switch<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Video Games<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a><a class="list-group-item list-group-item-action" href="#">Accessories<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right ml-1" style="width: .875rem; height: .875rem;"><polyline points="9 18 15 12 9 6"></polyline></svg></a></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 4.4.1 included, to get the result that you can see in the preview selection

body{margin-top:20px;}
img, figure {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

Similar snippets

Bootstrap example and template. product list

product list

Bootstrap example and template. bs4 new friends panel

bs4 new friends panel

Bootstrap example and template. shop product detail

shop product detail

Bootstrap example and template. bs4 beta comment list

bs4 beta comment list

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. white chat

white chat

Bootstrap example and template. chat app

chat app

Bootstrap example and template. bs4 profile contacts

bs4 profile contacts

Bootstrap example and template. Shop categories

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

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