-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (61 loc) · 1.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS Flag Project</title>
<style>
/* Write your CSS Code here */
.flag{
height:600px;
width: 900px;
background-color:#CE1126;
position:relative;
}
.flag > div{
background-color: #002868;
height: 300px;
width: 100%;
position: absolute;
top:150px ;
}
.flag > div >div{
background-color: aliceblue;
border-radius: 50%;
position: absolute;
height: 200px;
width: 200px;
top: 50px;
left: 350px;
}
p{
font-size: 5rem;
color: white;
text-align: center;
margin: 0;
padding: 0;
}
.flag>div div p{
color: black;
}
</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>