Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (68 loc) · 2.07 KB
/
Copy pathindex.html
File metadata and controls
82 lines (68 loc) · 2.07 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
<!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 | QR code component</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
html, body {
background-color: hsl(212, 45%, 89%);
font-family: "Outfit", sans-serif;
margin: 0px;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.card {
background: white;
width: 320px;
height: 499px;
border-radius: 20px;
box-shadow: 0px 25px 25px rgba(0, 0, 0, 0.048);
}
.text-box{
width: 288px;
height: 131px;
margin-top: 24px;
padding-left: 16px;
padding-right: 16px;
text-align: center;
}
.first-text{
font-size: 22px;
font-weight: 700;
color: hsl(218, 44%, 22%);
line-height: 120%;
margin: 0px;
}
.second-text{
font-size: 15px;
font-weight: 400;
color: hsl(216, 15%, 48%);
line-height: 140%;
letter-spacing: 0.2px;
margin-top: 16px;
}
.qr-code {
max-width: 288px;
height: auto;
border-radius: 10px;
display: block;
margin: 16px auto;
}
</style>
</head>
<body>
<div id="main" class="card" role="main">
<img src="./images/image-qr-code.png" alt="qr code" class="qr-code">
<div id="text" class="text-box" role="region" aria-labelledby="text-title" aria-describedby="text-description">
<h1 id="text-title" class="first-text">Improve your front-end skills by building projects</h1>
<p id="text-description" class="second-text">Scan the QR code to visit Frontend <br> Mentor and take your coding skills to <br> the next level</p>
</div>
</div>
</body>
</html>