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 5.2.0 included, to get the result that you can see in the preview selection
Download<div class="container mt-6 mb-7">
<div class="row justify-content-center">
<div class="col-lg-12 col-xl-7">
<div class="card">
<div class="card-body p-5">
<h2>
Hey Anna,
</h2>
<p class="fs-sm">
This is the receipt for a payment of <strong>$312.00</strong> (USD) you made to Spacial Themes.
</p>
<div class="border-top border-gray-200 pt-4 mt-4">
<div class="row">
<div class="col-md-6">
<div class="text-muted mb-2">Payment No.</div>
<strong>#88305</strong>
</div>
<div class="col-md-6 text-md-end">
<div class="text-muted mb-2">Payment Date</div>
<strong>Feb/09/20</strong>
</div>
</div>
</div>
<div class="border-top border-gray-200 mt-4 py-4">
<div class="row">
<div class="col-md-6">
<div class="text-muted mb-2">Client</div>
<strong>
John McClane
</strong>
<p class="fs-sm">
989 5th Avenue, New York, 55832
<br>
<a href="#!" class="text-purple">[email protected]
</a>
</p>
</div>
<div class="col-md-6 text-md-end">
<div class="text-muted mb-2">Payment To</div>
<strong>
Themes LLC
</strong>
<p class="fs-sm">
9th Avenue, San Francisco 99383
<br>
<a href="#!" class="text-purple">[email protected]
</a>
</p>
</div>
</div>
</div>
<table class="table border-bottom border-gray-200 mt-3">
<thead>
<tr>
<th scope="col" class="fs-sm text-dark text-uppercase-bold-sm px-0">Description</th>
<th scope="col" class="fs-sm text-dark text-uppercase-bold-sm text-end px-0">Amount</th>
</tr>
</thead>
<tbody>
<tr>
<td class="px-0">Theme customization</td>
<td class="text-end px-0">$60.00</td>
</tr>
<tr>
<td class="px-0">Website design</td>
<td class="text-end px-0">$80.00</td>
</tr>
</tbody>
</table>
<div class="mt-5">
<div class="d-flex justify-content-end">
<p class="text-muted me-3">Subtotal:</p>
<span>$390.00</span>
</div>
<div class="d-flex justify-content-end">
<p class="text-muted me-3">Discount:</p>
<span>-$40.00</span>
</div>
<div class="d-flex justify-content-end mt-3">
<h5 class="me-3">Total:</h5>
<h5 class="text-success">$399.99 USD</h5>
</div>
</div>
</div>
<a href="#!" class="btn btn-dark btn-lg card-footer-btn justify-content-center text-uppercase-bold-sm hover-lift-light">
<span class="svg-icon text-white me-2">
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><title>ionicons-v5-g</title><path d="M336,208V113a80,80,0,0,0-160,0v95" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"></path><rect x="96" y="208" width="320" height="272" rx="48" ry="48" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"></rect></svg>
</span>
Pay Now
</a>
</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 5.2.0 included, to get the result that you can see in the preview selection
Downloadbody{margin-top:20px;
background:#87CEFA;
}
.card-footer-btn {
display: flex;
align-items: center;
border-top-left-radius: 0!important;
border-top-right-radius: 0!important;
}
.text-uppercase-bold-sm {
text-transform: uppercase!important;
font-weight: 500!important;
letter-spacing: 2px!important;
font-size: .85rem!important;
}
.hover-lift-light {
transition: box-shadow .25s ease,transform .25s ease,color .25s ease,background-color .15s ease-in;
}
.justify-content-center {
justify-content: center!important;
}
.btn-group-lg>.btn, .btn-lg {
padding: 0.8rem 1.85rem;
font-size: 1.1rem;
border-radius: 0.3rem;
}
.btn-dark {
color: #fff;
background-color: #1e2e50;
border-color: #1e2e50;
}
.card {
position: relative;
display: flex;
flex-direction: column;
min-width: 0;
word-wrap: break-word;
background-color: #fff;
background-clip: border-box;
border: 1px solid rgba(30,46,80,.09);
border-radius: 0.25rem;
box-shadow: 0 20px 27px 0 rgb(0 0 0 / 5%);
}
.p-5 {
padding: 3rem!important;
}
.card-body {
flex: 1 1 auto;
padding: 1.5rem 1.5rem;
}
tbody, td, tfoot, th, thead, tr {
border-color: inherit;
border-style: solid;
border-width: 0;
}
.table td, .table th {
border-bottom: 0;
border-top: 1px solid #edf2f9;
}
.table>:not(caption)>*>* {
padding: 1rem 1rem;
background-color: var(--bs-table-bg);
border-bottom-width: 1px;
box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}
.px-0 {
padding-right: 0!important;
padding-left: 0!important;
}
.table thead th, tbody td, tbody th {
vertical-align: middle;
}
tbody, td, tfoot, th, thead, tr {
border-color: inherit;
border-style: solid;
border-width: 0;
}
.mt-5 {
margin-top: 3rem!important;
}
.icon-circle[class*=text-] [fill]:not([fill=none]), .icon-circle[class*=text-] svg:not([fill=none]), .svg-icon[class*=text-] [fill]:not([fill=none]), .svg-icon[class*=text-] svg:not([fill=none]) {
fill: currentColor!important;
}
.svg-icon>svg {
width: 1.45rem;
height: 1.45rem;
}
About this bootstrap example/template
This example/template, invoice with client info description amount and pay now button, was published on Feb 20th 2023, 15:15 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 24.2K views, Using this bootstrap snippet you have the following benefits:
Bootstrap 5.2.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 5.2.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