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
Download<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/pe-icon-7-stroke/dist/pe-icon-7-stroke.min.css">
<div class="container padding-bottom-3x mb-1">
<div class="card mb-3">
<div class="p-4 text-center text-white text-lg bg-dark rounded-top"><span class="text-uppercase">Tracking Order No - </span><span class="text-medium">34VB5540K83</span></div>
<div class="d-flex flex-wrap flex-sm-nowrap justify-content-between py-3 px-2 bg-secondary">
<div class="w-100 text-center py-1 px-2"><span class="text-medium">Shipped Via:</span> UPS Ground</div>
<div class="w-100 text-center py-1 px-2"><span class="text-medium">Status:</span> Checking Quality</div>
<div class="w-100 text-center py-1 px-2"><span class="text-medium">Expected Date:</span> SEP 09, 2017</div>
</div>
<div class="card-body">
<div class="steps d-flex flex-wrap flex-sm-nowrap justify-content-between padding-top-2x padding-bottom-1x">
<div class="step completed">
<div class="step-icon-wrap">
<div class="step-icon"><i class="pe-7s-cart"></i></div>
</div>
<h4 class="step-title">Confirmed Order</h4>
</div>
<div class="step completed">
<div class="step-icon-wrap">
<div class="step-icon"><i class="pe-7s-config"></i></div>
</div>
<h4 class="step-title">Processing Order</h4>
</div>
<div class="step completed">
<div class="step-icon-wrap">
<div class="step-icon"><i class="pe-7s-medal"></i></div>
</div>
<h4 class="step-title">Quality Check</h4>
</div>
<div class="step">
<div class="step-icon-wrap">
<div class="step-icon"><i class="pe-7s-car"></i></div>
</div>
<h4 class="step-title">Product Dispatched</h4>
</div>
<div class="step">
<div class="step-icon-wrap">
<div class="step-icon"><i class="pe-7s-home"></i></div>
</div>
<h4 class="step-title">Product Delivered</h4>
</div>
</div>
</div>
</div>
<div class="d-flex flex-wrap flex-md-nowrap justify-content-center justify-content-sm-between align-items-center">
<div class="custom-control custom-checkbox mr-3">
<input class="custom-control-input" type="checkbox" id="notify_me" checked="">
<label class="custom-control-label" for="notify_me">Notify me when order is delivered</label>
</div>
<div class="text-left text-sm-right"><a class="btn btn-outline-primary btn-rounded btn-sm" href="orderDetails" data-toggle="modal" data-target="#orderDetails">View Order Details</a></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
Downloadbody{margin-top:20px;}
.steps .step {
display: block;
width: 100%;
margin-bottom: 35px;
text-align: center
}
.steps .step .step-icon-wrap {
display: block;
position: relative;
width: 100%;
height: 80px;
text-align: center
}
.steps .step .step-icon-wrap::before,
.steps .step .step-icon-wrap::after {
display: block;
position: absolute;
top: 50%;
width: 50%;
height: 3px;
margin-top: -1px;
background-color: #e1e7ec;
content: '';
z-index: 1
}
.steps .step .step-icon-wrap::before {
left: 0
}
.steps .step .step-icon-wrap::after {
right: 0
}
.steps .step .step-icon {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
border: 1px solid #e1e7ec;
border-radius: 50%;
background-color: #f5f5f5;
color: #374250;
font-size: 38px;
line-height: 81px;
z-index: 5
}
.steps .step .step-title {
margin-top: 16px;
margin-bottom: 0;
color: #606975;
font-size: 14px;
font-weight: 500
}
.steps .step:first-child .step-icon-wrap::before {
display: none
}
.steps .step:last-child .step-icon-wrap::after {
display: none
}
.steps .step.completed .step-icon-wrap::before,
.steps .step.completed .step-icon-wrap::after {
background-color: #0da9ef
}
.steps .step.completed .step-icon {
border-color: #0da9ef;
background-color: #0da9ef;
color: #fff
}
@media (max-width: 576px) {
.flex-sm-nowrap .step .step-icon-wrap::before,
.flex-sm-nowrap .step .step-icon-wrap::after {
display: none
}
}
@media (max-width: 768px) {
.flex-md-nowrap .step .step-icon-wrap::before,
.flex-md-nowrap .step .step-icon-wrap::after {
display: none
}
}
@media (max-width: 991px) {
.flex-lg-nowrap .step .step-icon-wrap::before,
.flex-lg-nowrap .step .step-icon-wrap::after {
display: none
}
}
@media (max-width: 1200px) {
.flex-xl-nowrap .step .step-icon-wrap::before,
.flex-xl-nowrap .step .step-icon-wrap::after {
display: none
}
}
.bg-faded, .bg-secondary {
background-color: #f5f5f5 !important;
}
About this bootstrap example/template
This example/template, Shop Order Tracking, was published on Feb 22nd 2020, 20:17 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 52.5K 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