-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpayment.html
96 lines (93 loc) · 2.16 KB
/
payment.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>payment</title>
<link rel="stylesheet" href="./styles/payment.css" />
</head>
<style>
input {
position: relative;
margin-left: 4rem;
}
#nav {
font-size: 1000;
font-size: 35px;
border-bottom: 4px solid teal;
}
h2 {
/* text-align: center; */
}
form {
width: 30%;
margin: auto;
}
form > div {
display: grid;
grid-template-columns: 30% 60%;
/* border: 1px solid black; */
}
#checkbox {
margin-top: 1rem;
display: grid;
/* grid-template-columns: ; */
justify-content: center;
align-items: center;
}
button {
display: block;
margin: auto;
}
form img {
width: 25px;
height: 15px;
margin-left: 1rem;
margin-bottom: 10px;
}
#one {
margin-left: 68px;
}
#payment {
display: flex;
justify-content: center;
align-items: center;
}
#payment > img {
margin-top: 20px;
width: 30%;
}
</style>
<body>
<div id="nav">Checkout</div>
<form >
<h2>PAYMENT INFORMATION</h2>
<div>
Card Number: <input type="text" name="" id="" required /> <br />
</div>
<div>
<div></div>
<div>
<img
id="one"
src="https://blog.logomyway.com/wp-content/uploads/2022/02/visa-logo-2.jpg"
alt=""
/><img
src="https://pngimg.com/uploads/mastercard/mastercard_PNG10.png"
alt=""
/>
</div>
</div>
<div>Expiration: <input type="date" required /><br /></div>
<div>Security Code: <input type="password" required /></div>
<div id="checkbox">
<input type="checkbox" />
<label for="">Store this card for future use</label><br />
</div>
<button id='btn'>Make payment</button>
</form>
<div id="payment"></div>
</body>
</html>
<script src="./scripts/payment.js"></script>