-
Notifications
You must be signed in to change notification settings - Fork 0
/
single-div-flag.html
46 lines (43 loc) · 2.35 KB
/
single-div-flag.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Philippine Flag</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.watawat {
background-color: #0038A8;
position: absolute;
width: 270.19px;
border-top: 116px solid #0038A8;
border-bottom: 116px solid #CE1126;
border-left: 193px solid white;
}
.watawat::before {
text-shadow: -160px -45px #FCD116, -115px 120px #FCD116;
content: "\2605";
display: block;
position: absolute;
color: #FCD116;
font-size: 27px;
top: -15px;
left: -50px;
transform: rotate(15deg);
}
.watawat::after {
content: "";
position: absolute;
background-color: #FCD116;
height: 100px;
width: 100px;
top: -50px;
left: -171px;
clip-path: polygon(50% 0%, 53% 3%, 51.5% 26.25%, 53% 26.25%, 56% 5.5%, 58.5% 8%, 54.5% 26.5%, 58.5% 27.75%, 63.5% 30.25%, 74.5% 14%, 77.25% 14%, 64.5% 31.5%, 65.5% 32%, 81% 14.75%, 85.25% 14.75%, 85.25% 19%, 68% 34.5%, 68.5% 35.5%, 86% 22.75%, 86% 25.5%, 69.75% 36.5%, 72.25% 41.5%, 73.5% 45.5%, 92% 41.5%, 94.5% 44%, 73.75% 47%, 73.75% 48.5%, 97% 47%, 100% 50%, 97% 53%, 73.75% 51.5%, 73.75% 53%, 94.5% 56%, 92% 58.5%, 73.5% 54.5%, 72.25% 58.5%, 69.75% 63.5%, 86% 74.5%, 86% 77.25%, 68.5% 64.5%, 68% 65.5%, 85.25% 81%, 85.25% 85.25%, 85.25% 85.25%, 81% 85.25%, 65.5% 68%, 64.5% 68.5%, 77.25% 86%, 74.5% 86%, 63.5% 69.75%, 58.5% 72.25%, 54.5% 73.5%, 58.5% 92%, 56% 94.5%, 53% 73.75%, 51.5% 73.75%, 53% 97%, 50% 100%, 47% 97%, 48.5% 73.75%, 47% 73.75%, 44% 94.5%, 41.5% 92%, 45.5% 73.5%, 41.5% 72.25%, 36.5% 69.75%, 25.5% 86%, 22.75% 86%, 35.5% 68.5%, 34.5% 68%, 19% 85.25%, 14.75% 85.25%, 14.75% 85.25%, 14.75% 81%, 32% 65.5%, 31.5% 64.5%, 14% 77.25%, 14% 74.5%, 30.25% 63.5%, 27.75% 58.5%, 26.5% 54.5%, 8% 58.5%, 5.5% 56%, 26.25% 53%, 26.25% 51.5%, 3% 53%, 0% 50%, 3% 47%, 26.25% 48.5%, 26.25% 47%, 5.5% 44%, 8% 41.5%, 26.5% 45.5%, 27.75% 41.5%, 30.25% 36.5%, 14% 25.5%, 14% 22.75%, 31.5% 35.5%, 32% 34.5%, 14.75% 19%, 14.75% 14.75%, 14.75% 14.75%, 19% 14.75%, 34.5% 32%, 35.5% 31.5%, 22.75% 14%, 25.5% 14%, 36.5% 30.25%, 41.5% 27.75%, 45.5% 26.5%, 41.5% 8%, 44% 5.5%, 47% 26.25%, 48.5% 26.25%, 47% 3%);
}
</style>
</head>
<body>
<div class="watawat"></div>
</body>
</html>