-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathone.html
More file actions
148 lines (125 loc) · 3.57 KB
/
one.html
File metadata and controls
148 lines (125 loc) · 3.57 KB
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<!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>Card</title>
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container{
width: 100vw;
height: 100vh;
/* min-height: 980px; */
background-color: #8BC6EC;
background-image: linear-gradient(135deg, #8BC6EC 0%, #9599E2 100%);
display: flex;
justify-content: center;
align-items: center;
}
.card{
width: 400px;
height: 600px;
background-color: white;
border-radius: 20px;
display: flex;
flex-direction: column;
align-items: center;
gap: 25px;
}
.card img{
width: 100%;
height: 30%;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
}
.textBox{
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
width: 75%;
text-align: center;
}
#amountBox{
width: 80%;
height: 10%;
background-color: #8BC6EC;
border-radius: 10px;
display: flex;
justify-content: space-between;
align-items: center;
padding-right: 20px;
padding-left: 20px;
}
#leftBox{
/* width: fit-content; */
height: 100%;
display: flex;
gap: 15px;
align-items: center;
}
.imgBox img{
height: 3.5rem;
width: 3.5rem;
}
#paymentButton{
width: 80%;
height: 9%;
background-color: rgb(22, 22, 79);
color: white;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
.cancelBox a{
text-decoration: none;
color: rgb(46, 43, 43);
font-weight: bold;
font-size: large;
}
</style>
</head>
<body>
<div class="container">
<div class="card">
<img
src="icon.jpg"
/>
<div class="textBox">
<h2>
Order Summary
</h2>
<p>
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Iure asperiores nam, recusandae necessitatibus ad quia dicta voluptas doloremque nulla doloribus.
</p>
</div>
<div id="amountBox">
<div id="leftBox">
<div class="imgBox">
<img
src="music.png"
/>
</div>
<div id="textAmountBox">
<p>Amount</p>
<p>$99.9/year</p>
</div>
</div>
<div class="rightBox">
<a href="#">Change</a>
</div>
</div>
<button id="paymentButton">
Proceed to Payment
</button>
<div class="cancelBox">
<a href="#"> Cancel Order</a>
</div>
</div>
</div>
</body>
</html>