-
Notifications
You must be signed in to change notification settings - Fork 0
/
QR Code Challenge
95 lines (86 loc) · 1.96 KB
/
QR Code Challenge
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>QR Code</title>
</head>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap"
/>
<style>
:root {
--white: hsl(0, 57%, 25%);
--light-gray: hsl(212, 45%, 89%);
--grayish-blue: hsl(220, 15%, 55%);
--dark-blue: hsl(218, 44%, 22%);
--fw-regular: 400;
--fw-bold: 700;
--font-family: "Outfit", sans-serif;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
background: var(--light-gray);
font-family: var(--font-family);
font-weight: var(--fw-regular);
line-height: 1.5;
display: grid;
place-items: center;
min-height: 100vh;
}
img {
width: 100%;
max-width: 280px;
display: block;
border-radius: 15px;
}
.code {
width: 80%;
max-width: 250px;
margin: 0 auto;
border-radius: 25px;
background-color: var(--white);
padding: 1.5325rem;
}
.row {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
h1 {
margin: 0;
padding: 1rem 0, 0.7rem;
text-align: center;
font-size: 1.1rem;
font-weight: var(--fw-bold);
color: var(--dark-blue);
}
p {
margin: 0;
font-size: 0.75321rem, 0.5rem;
text-align: center;
color: var(--grayish-blue);
}
</style>
<body>
<div class="code row">
<img
src="https://i.postimg.cc/DwSWLmxQ/image-qr-code.png"
alt="qr-code"
/>
<h1>Improve your front-end skills by building projects</h1>
<p>
Scan the QR code to visit Frontend Mentor and take your coding skills to
the next level
</p>
</div>
</body>
</html>