-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathabout_payment.html
95 lines (92 loc) · 2.48 KB
/
about_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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Payment</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap" rel="stylesheet">
<style>
body{
margin: 0;
padding: 0;
background-color: rgba(0, 0, 14, 0.806);
font-family: 'Montserrat', sans-serif;
}
.payment-form{
width: 700px;
margin: 10% auto 0 auto;
padding: 20px;
box-shadow: 0 4px 8px 0 #264394, 0 4px 8px 0 #738d9b;
color: white;
}
h1{
text-align: center;
}
.box-1{
width: 100%;
padding: 10px;
margin: 10px 0 15px 0;
border: none;
border-radius: 15px;
box-sizing: border-box;
background-color: #43568b;
}
.div-1{
display: inline-block;
}
.box-2{
padding: 10px;
border: none;
border-radius: 15px;
margin: 10px 0 15px 0;
background-color: #43568b;
}
.btn{
width: 49%;
padding: 10px;
border: none;
border-radius: 15px;
background-color: #43568b;
font-size: 18px;
color: white;
}
.btn:hover{
background-color: rgb(1, 2, 29);
cursor: pointer ;
}
@media screen and (max-width: 600px){
body{
padding: 20px;
}
.payment-form{
width: 100%;
box-sizing: border-box;
}
}
</style>
</head>
<body>
<div class="payment-form">
<form action="action">
<h1>Payment</h1>
<label for="name">Payer name</label><br>
<input class="box-1" type="text" name id="name" placeholder="Enter name"><br>
<label for="cardnum">Card Number</label><br>
<input class="box-1" type="number" name id="number" placeholder="1234 1234 1234 1234"><br>
<label for="cardex">Card expiry date</label><br>
<div class="div 1">
<input class="box-2" type="month" name id="month" placeholder="MM/YYYY"><br>
</div>
<div class="div 1">
<label for="cardcvc">Card CVC</label><br>
<input class="box-2" type="cvc" name id="CVC" placeholder="CVC"><br>
</div>
<button class="btn" type="button">Pay Now</button>
<button class="btn" type="button">Cancel</button>
</form>
</div>
>
</body>
</html>