Bootstrap snippet and html example. sales report

Bootstrap 4.5.0 snippet "sales report" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: sales

HTML code

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

<div class="container">
<div class="col-lg-12 col-xl-8">
    <div class="card m-b-30">
        <div class="card-header">                                
            <h5 class="card-title mb-0">Sales by Country</h5>
        </div>
        <div class="card-body">                                
            <div class="row align-items-center">
                <div class="col-6 col-lg-3">
                    <div class="border-primary border rounded text-center py-3 mb-3">
                        <h5 class="card-title text-primary mb-1">$4000</h5>
                        <p class="text-primary mb-0">Sales</p>
                    </div>
                    <div class="border-success border rounded text-center py-3 mb-3">
                        <h5 class="card-title text-success mb-1">$2000</h5>
                        <p class="text-success mb-0">Revenue</p>
                    </div>
                    <div class="border-warning border rounded text-center py-3">
                        <h5 class="card-title text-warning mb-1">$200</h5>
                        <p class="text-warning mb-0">Refund</p>
                    </div>
                </div>
                <div class="col-6 col-lg-9">
                    <p>USA <span class="float-right">55%</span></p>
                    <div class="progress mb-3" style="height: 5px;">
                      <div class="progress-bar" role="progressbar" style="width: 55%;" aria-valuenow="55" aria-valuemin="0" aria-valuemax="100"></div>
                    </div>
                    <p>UK <span class="float-right">20%</span></p>
                    <div class="progress mb-3" style="height: 5px;">
                      <div class="progress-bar bg-success" role="progressbar" style="width: 20%;" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"></div>
                    </div>
                    <p>Canada <span class="float-right">15%</span></p>
                    <div class="progress mb-3" style="height: 5px;">
                      <div class="progress-bar bg-warning" role="progressbar" style="width: 15%;" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100"></div>
                    </div>
                    <p>Australia <span class="float-right">10%</span></p>
                    <div class="progress" style="height: 5px;">
                      <div class="progress-bar bg-info" role="progressbar" style="width: 10%;" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>

CSS code

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

body{
    background:#eee;
    margin-top:20px;
}
.card-header {
    border-bottom: 1px solid transparent;
    background-color: transparent;
}
Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. Register Form

Register Form

Bootstrap example and template. Gradients dashboard cards

Gradients dashboard cards

Bootstrap example and template. DeyNote like login

DeyNote like login

FAQ

How do I use this snippet?

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

Bootstrap example and template. sales report

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

Bootstrap 4.5.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 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

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