-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (70 loc) · 1.36 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
<!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: absolute;
top: 0%;
left: 0%;
}
p {
text-align: center;
font-size: 75px;
color: black;
background-color: white;
height: 200px;
width: 200px;
border-radius: 50%;
position: absolute;
left: 350px;
}
div.flag > p {
color: white;
background-color: transparent;
width: 50%;
border-radius: 0%;
position:relative;
top:-75px;
left: 25%;
}
.flag > div {
background-color: #002868;
height: 50%;
width: 100%;
position:absolute;
top: 25%;
}
divdivdiv {
background-color: white;
height: 200px;
width: 200px;
border-radius: 50%;
}
</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.
red is ce1126
blue is 002868
-->
<body>
<div class="flag">
<p>The Flag</p>
<div>
<div>
<p>of Laos</p>
</div>
</div>
</div>
</body>
</html>