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.5.0 included, to get the result that you can see in the preview selection
Download<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
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.5.0 included, to get the result that you can see in the preview selection
Downloadbody{
background:#eee;
margin-top:20px;
}
.card-header {
border-bottom: 1px solid transparent;
background-color: transparent;
}
About this bootstrap example/template
This example/template, sales report, was published on Sep 26th 2020, 21:43 by Bootdey Admin 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 code example currectly have 8.5K views, Using this bootstrap snippet you have the following benefits:
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