-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
167 lines (150 loc) · 3.87 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Frontend Mentor | Order summary card</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution {
font-size: 11px;
text-align: center;
bottom: 0px;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
body {
background-image: url('./images/pattern-background-desktop.svg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 50%;
background-color: hsl(225, 100%, 94%);
}
.card-container {
background-color: white;
border-radius: 25px;
display: flex;
flex-direction: column;
width: 44vh;
height: 65vh;
}
.card-img {
border-radius: 20px 20px 0px 0px;
box-shadow: 0px 10px 20px 0px hsl(245deg 75% 52% / 18%);
}
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container-details {
display: flex;
flex-direction: column;
margin: 24px;
}
.price-details {
display: flex;
flex-direction: row;
margin-top: 12px;
margin-bottom: 12px;
padding: 14px;
background-color: hsl(225, 100%, 98%);
border-radius: 8px;
}
.order-name {
font-family: 'Red Hat Display', sans-serif;
display: flex;
justify-content: center;
margin-top: 0px;
margin-bottom: 14px;
}
.order-details {
font-size: 12px;
opacity: 0.75;
font-family: 'Red Hat Display', sans-serif;
display: flex;
text-align: center;
justify-content: center;
}
.icon-music{
height: 35px;
width: 35px;
padding-right: 12px;
}
.price-card{
display: flex;
flex-direction: column;
}
.Annual-Plan{
margin: 0px;
}
.price{
font-size: 15px;
opacity: 0.70;
}
.price-container{
display: flex;
justify-content: space-between;
width: 100%;
}
.changes-container{
display: flex;
text-align: center;
justify-content: center;
}
.Change{
padding-top: 6px;
}
.payment-btn{
border-radius: 5px;
height: 35px;
background-color: hsl(245, 75%, 52%);
box-shadow: 0px 15px 20px hsl(245deg 75% 52% / 18%);
color: white;
margin-bottom: 20px;
border: none;
}
.cancel-btn{
font-size: 14px;
opacity: 0.65;
font-weight: 600;
display: flex;
text-align: center;
justify-content: center;
}
</style>
</head>
<body>
<div class="container">
<div class="card-container">
<img class="card-img" src="./images/illustration-hero.svg">
<div class="container-details">
<h2 class="order-name">
Order Summary
</h2>
<span class="order-details">
You can now listen to millions of songs, audiobooks, and podcasts on any device anywhere you like!
</span>
<div class="price-details">
<img class="icon-music" src="./images/icon-music.svg">
<div class="price-container">
<div class="price-card">
<h5 class="Annual-Plan">Annual Plan</h5>
<span class="price">$59.99/year</span>
</div>
<div class="changes-container">
<a href="#" class="Change">Change</a>
</div>
</div>
</div>
<button class="payment-btn" >Proceed to Payment</button>
<a class="cancel-btn">Cancel Order</a>
</div>
</div>
</div>
</body>
</html>