bootstrap-payment-forms
Version:
Responsive Payment Forms built with the latest Bootstrap 5. Credit card, PayPal, Stripe, eCommerce checkout and many more examples.
108 lines (101 loc) • 4.15 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Material Design for Bootstrap</title>
<!-- MDB icon -->
<link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" />
<!-- Google Fonts Roboto -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" />
<!-- MDB -->
<link rel="stylesheet" href="css/bootstrap-payment-forms.min.css" />
</head>
<body>
<!-- Start your project here-->
<section style="background-color: #eee;">
<div class="container py-5">
<div class="row d-flex justify-content-center">
<div class="col-md-8 col-lg-6 col-xl-4">
<div class="card rounded-3">
<div class="card-body mx-1 my-2">
<div class="d-flex align-items-center">
<div>
<i class="fab fa-cc-visa fa-4x text-black pe-3"></i>
</div>
<div>
<p class="d-flex flex-column mb-0">
<b>Martina Thomas</b><span class="small text-muted">**** 8880</span>
</p>
</div>
</div>
<div class="pt-3">
<div class="d-flex flex-row pb-3">
<div
class="rounded border border-primary border-2 d-flex w-100 p-3 align-items-center"
style="background-color: rgba(18, 101, 241, 0.07);"
>
<div class="d-flex align-items-center pe-3">
<input
class="form-check-input"
type="radio"
name="radioNoLabelX"
id="radioNoLabel11"
value=""
aria-label="..."
checked
/>
</div>
<div class="d-flex flex-column">
<p class="mb-1 small text-primary">Total amount due</p>
<h6 class="mb-0 text-primary">$8245</h6>
</div>
</div>
</div>
<div class="d-flex flex-row pb-3">
<div class="rounded border d-flex w-100 px-3 py-2 align-items-center">
<div class="d-flex align-items-center pe-3">
<input
class="form-check-input"
type="radio"
name="radioNoLabelX"
id="radioNoLabel22"
value=""
aria-label="..."
/>
</div>
<div class="d-flex flex-column py-1">
<p class="mb-1 small text-primary">Other amount</p>
<div class="d-flex flex-row align-items-center">
<h6 class="mb-0 text-primary pe-1">$</h6>
<input
type="text"
class="form-control form-control-sm"
id="numberExample"
style="width: 55px;"
/>
</div>
</div>
</div>
</div>
</div>
<div class="d-flex justify-content-between align-items-center pb-1">
<a href="#!" class="text-muted">Go back</a>
<button type="button" class="btn btn-primary btn-lg">Pay amount</button>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- End your project here-->
<!-- MDB -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<!-- Custom scripts -->
<script type="text/javascript"></script>
</body>
</html>