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<div class="container pb-5 mb-sm-4">
<!-- Details-->
<div class="row mb-3">
<div class="col-sm-4 mb-2">
<div class="bg-secondary p-4 text-dark text-center"><span class="font-weight-semibold mr-2">Shipped via:</span>UPS Ground</div>
</div>
<div class="col-sm-4 mb-2">
<div class="bg-secondary p-4 text-dark text-center"><span class="font-weight-semibold mr-2">Status:</span>Quality check</div>
</div>
<div class="col-sm-4 mb-2">
<div class="bg-secondary p-4 text-dark text-center"><span class="font-weight-semibold mr-2">Expected date:</span>June 17, 2019</div>
</div>
</div>
<!-- Progress-->
<div class="steps">
<div class="steps-header">
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: 40%" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
<div class="steps-body">
<div class="step step-completed"><span class="step-indicator"><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-check"><polyline points="20 6 9 17 4 12"></polyline></svg></span><span class="step-icon"><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-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg></span>Order confirmed</div>
<div class="step step-completed"><span class="step-indicator"><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-check"><polyline points="20 6 9 17 4 12"></polyline></svg></span><span class="step-icon"><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-settings"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg></span>Processing order</div>
<div class="step step-active"><span class="step-icon"><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-award"><circle cx="12" cy="8" r="7"></circle><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline></svg></span>Quality check</div>
<div class="step"><span class="step-icon"><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-truck"><rect x="1" y="3" width="15" height="13"></rect><polygon points="16 8 20 8 23 11 23 16 16 16 16 8"></polygon><circle cx="5.5" cy="18.5" r="2.5"></circle><circle cx="18.5" cy="18.5" r="2.5"></circle></svg></span>Product dispatched</div>
<div class="step"><span class="step-icon"><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-home"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg></span>Product delivered</div>
</div>
</div>
<!-- Footer-->
<div class="d-sm-flex flex-wrap justify-content-between align-items-center text-center pt-4">
<div class="custom-control custom-checkbox mt-2 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><a class="btn btn-primary btn-sm mt-2" href="#order-details" data-toggle="modal">View Order Details</a>
</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 {
border: 1px solid #e7e7e7
}
.steps-header {
padding: .375rem;
border-bottom: 1px solid #e7e7e7
}
.steps-header .progress {
height: .25rem
}
.steps-body {
display: table;
table-layout: fixed;
width: 100%
}
.step {
display: table-cell;
position: relative;
padding: 1rem .75rem;
-webkit-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;
border-right: 1px dashed #dfdfdf;
color: rgba(0, 0, 0, 0.65);
font-weight: 600;
text-align: center;
text-decoration: none
}
.step:last-child {
border-right: 0
}
.step-indicator {
display: block;
position: absolute;
top: .75rem;
left: .75rem;
width: 1.5rem;
height: 1.5rem;
border: 1px solid #e7e7e7;
border-radius: 50%;
background-color: #fff;
font-size: .875rem;
line-height: 1.375rem
}
.has-indicator {
padding-right: 1.5rem;
padding-left: 2.375rem
}
.has-indicator .step-indicator {
top: 50%;
margin-top: -.75rem
}
.step-icon {
display: block;
width: 1.5rem;
height: 1.5rem;
margin: 0 auto;
margin-bottom: .75rem;
-webkit-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;
color: #888
}
.step:hover {
color: rgba(0, 0, 0, 0.9);
text-decoration: none
}
.step:hover .step-indicator {
-webkit-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;
border-color: transparent;
background-color: #f4f4f4
}
.step:hover .step-icon {
color: rgba(0, 0, 0, 0.9)
}
.step-active,
.step-active:hover {
color: rgba(0, 0, 0, 0.9);
pointer-events: none;
cursor: default
}
.step-active .step-indicator,
.step-active:hover .step-indicator {
border-color: transparent;
background-color: #5c77fc;
color: #fff
}
.step-active .step-icon,
.step-active:hover .step-icon {
color: #5c77fc
}
.step-completed .step-indicator,
.step-completed:hover .step-indicator {
border-color: transparent;
background-color: rgba(51, 203, 129, 0.12);
color: #33cb81;
line-height: 1.25rem
}
.step-completed .step-indicator .feather,
.step-completed:hover .step-indicator .feather {
width: .875rem;
height: .875rem
}
@media (max-width: 575.98px) {
.steps-header {
display: none
}
.steps-body,
.step {
display: block
}
.step {
border-right: 0;
border-bottom: 1px dashed #e7e7e7
}
.step:last-child {
border-bottom: 0
}
.has-indicator {
padding: 1rem .75rem
}
.has-indicator .step-indicator {
display: inline-block;
position: static;
margin: 0;
margin-right: 0.75rem
}
}
.bg-secondary {
background-color: #f7f7f7 !important;
}
About this bootstrap example/template
This example/template, order tracking, was published on Feb 22nd 2020, 10:40 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 25.2K 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