-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
131 lines (128 loc) · 3.42 KB
/
index.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>css-card</title>
<style>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container{
height: 100vh;
width: 100vw;
background-color: #4158D0;
background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
display: flex;
justify-content: center;
align-items: center;
}
.box{
height: 430px;
width: 250px;
background-color: white;
border-radius: 20px;
display: flex;
flex-direction: column;
gap: 10px;
}
.box img{
height: 150px;
width: 100%;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
}
#text{
display: flex;
justify-content: center;
align-items: center;
/* padding: 10px; */
}
#para{
text-align: center;
padding-left: 20px;
padding-right: 20px;
}
.amount{
background-color: rgb(106, 106, 223);
height: 40px;
width: 80%;
border-radius: 10px;
margin-left: 25px;
display: flex;
flex-direction: row;
gap: 20px;
}
.amount img{
height: 40px;
width: 40px;
padding-left: 7px;
}
#link{
display: flex;
justify-content: center;
align-items: center;
padding-right: 7px;
}
#link a{
text-decoration: none;
}
.pay{
display: flex;
justify-content: center;
align-items: center;
}
.pay button{
height: 33px;
width: 80%;
border-radius: 10px;
background-color: rgb(7, 7, 100);
color: #fff;
}
#cancel{
display: flex;
justify-content: center;
align-items: center;
}
#cancel a{
text-decoration: none;
color: #212121;
font-weight: 800;
font-size: larger;
}
</style>
</head>
<body>
<div class="container">
<div class="box">
<img src="icon.jpg" alt="icon">
<div id="text">
<h2>Order Summary</h2>
</div>
<div id="para">
<p>
Lorem, ipsum dolor sit Iure asperiores nam, recusandae necessitatibus ad quia dicta voluptas doloremque nulla doloribus.
</p>
</div>
<div class="amount">
<img src="music.png" alt="music">
<div id="text2">
<p>Amount</p>
<p>$99.9/year</p>
</div>
<div id="link">
<a href="change">Change</a>
</div>
</div>
<div class="pay">
<button>Proceed to Payment</button>
</div>
<div id="cancel">
<a href="#">Cancel Order</a>
</div>
</div>
</div>
</body>
</html>