-
Notifications
You must be signed in to change notification settings - Fork 105
/
USA.html
55 lines (54 loc) · 1.86 KB
/
USA.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
<!DOCTYPE html>
<html>
<head>
<title>United States of America | Flags</title>
<meta charset="utf-8"/>
<style>
body {
padding: 20px;
}
#usa {
width: 1235px;
height: 650px;
background: repeating-linear-gradient(180deg,
#C1133D, #C1133D 50px,
white 50px, white 100px);
box-shadow: 10px 10px 15px 0px #bbbbbb;
position: relative;
}
#usa::before, #usa::after {
position: absolute;
display: block;
top: 0;
left: 0;
width: 494px;
height: 350px;
box-sizing: border-box;
color: white;
}
#usa::before {
content: "";
background-color: #002663;
}
#usa::after {
/*
Unicode, not magic. Stars are separated by a no-break space (U+00A0) to
prevent the sets of six and five stars from being split up over lines.
Regular spaces indicate where line breaks should occur.
The star is U+2605 BLACK STAR, so this approach is almost cheating.
*/
content: "★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★";
font-size: 48px;
font-family: 'DejaVu Sans', sans-serif;
line-height: 61%;
text-align: center;
word-wrap: normal;
padding-top: 11px;
height: 650px;
}
</style>
</head>
<body>
<div id="usa"></div>
</body>
</html>