-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (81 loc) · 2.07 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
<!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="favicon-32x32.png" />
<title>Frontend Mentor | QR code component</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
html {
font-family: Arial, Helvetica, sans-serif;
background-color: #d5e1ef;
}
body {
margin: 8%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
img {
border-radius: 5%;
width: 270px;
height: 250px;
margin-top: 20px;
}
h1 {
font-size: 1.2em;
color: #1f314f;
line-height: 1.6;
margin: 10px 30px 0px;
}
p {
font-size: 15px;
color: #858fa4;
line-height: 1.4;
margin: 20px 30px;
}
.box {
background-color: white;
display: flex;
flex-direction: column;
align-items: center;
width: 300px;
height: 450px;
text-align: center;
border-radius: 5%;
}
.attribution {
color: gray;
font-size: 10px;
margin-top: 10px;
}
.attribution a {
color: black;
font-size: 10px;
}
</style>
</head>
<body>
<main>
<div class="box">
<img src="image-qr-code.png" alt="qr-code" width="200em" />
<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>
</main>
<footer>
<div class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by <a href="#">Alexis Gale</a>.
</div>
</footer>
</body>
</html>