-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflag of laos project css.html
83 lines (59 loc) · 1.3 KB
/
flag of laos project css.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS Flag Project</title>
<style>
/* Write your CSS Code here */
.flag {
text-align: center;
font-size: 65px;
width: 900px;
height:600px;
background-color: #CE1126;
border: 10px solid black;
}
.flag > div > div {
font-size: 4rem;
background-color: white;
border-radius: 100%;
width: 200px;
height: 200px;
text-align: center;
position:absolute;
top:20%;
left:40%
}
.flag > div {
background-color: #002868;
width:900px;
height:300px;
position:absolute;
top: 30%;
}
.flag > p {
text-align: center;
color:white;
}
</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>