-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (62 loc) · 1.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS Flag Project</title>
<style>
/* Write your CSS Code here */
.flag {
background-color: #CE1126;
height: 600px;
width: 900px;
position: relative;
}
.flag > div {
background-color: #002868;
height: 300px;
width: 100%;
position: absolute;
top: 150px;
}
.flag > p {
font-size: 5rem;
margin-bottom: 0;
color: white;
text-align: center;
}
.flag > div > div > p {
margin-top: 0;
font-size: 5rem;
text-align: center;
}
.flag > div > div {
height: 200px;
width: 200px;
background-color: white;
border-radius: 50%;
position: absolute;
top: 50px;
left: 300px;
}
</style>
</head>
<!--
IMPORTANT! Do not change any HTML
Don't add any classes/ids/elements
Use what you know about combining selectors
and CSS specificity instead.
Hint 1: The flag is 900px by 600px and the circle is 200px by 200px.
Hint 2: You can use CSS inspection to get the colors from
https://appbrewery.github.io/flag-of-laos/
-->
<body>
<div class="flag">
<p>The Flag</p>
<div>
<div>
<p>of Laos</p>
</div>
</div>
</div>
</body>
</html>