-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (88 loc) · 2.8 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
<!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"
/>
<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=Red+Hat+Display:wght@500;700;900&display=swap"
rel="stylesheet"
/>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
"red-hat": ['"Red Hat Display"', "sans-serif"],
},
spacing: {
customSize: "31rem",
},
colors: {
primary: {
pale: "hsl(225, 100%, 94%)",
bright: "hsl(245, 75%, 52%)",
},
neutral: {
pale: "hsl(225, 100%, 98%)",
desaturate: "hsl(224, 23%, 55%)",
dark: "hsl(223, 47%, 23%)",
},
white: "#fff",
},
},
},
};
</script>
<title>Frontend Mentor | Order summary card</title>
</head>
<body
class="m-0 box-border font-red-hat flex justify-center p-0 h-screen items-center bg-top bg-cover text-xs bg-[url('images/pattern-background-desktop.svg')]"
>
<div class="bg-white w-80 h-customSize rounded-md flex flex-col gap-5 items-center">
<img
src="images/illustration-hero.svg"
alt="illustration"
class="rounded-t-md"
/>
<p class="font-extrabold text-base">Order Summary</p>
<p class="text-center text-neutral-desaturate mx-7">
You can now listen to millions of songs, audiobooks, and podcasts on any
device anywhere you like!
</p>
<div
class="flex gap-2 bg-neutral-pale h-16 rounded-md w-4/5 justify-around items-center"
>
<div class="flex gap-3 items-center">
<img
src="images/icon-music.svg"
alt="icon-music"
class="object-contain h-8"
/>
<div class="flex flex-col gap-1">
<div class="font-bold">Annual Plan</div>
<div class="text-neutral-desaturate">$59.99/year</div>
</div>
</div>
<div>Change</div>
</div>
<button
class="bg-primary-bright rounded-md h-10 text-white shadow-xl w-4/5 mb-0.5 hover:bg-neutral-dark"
>
Proceed to Payment
</button>
<button class="rounded-md h-10 w-4/5 hover:bg-neutral-pale">
Cancel Order
</button>
</div>
</body>
</html>