-
Notifications
You must be signed in to change notification settings - Fork 823
/
generated_content.html
58 lines (57 loc) · 1.83 KB
/
generated_content.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
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Generated content</title>
<style>
body, div {
background-repeat: no-repeat;
}
body {
background-image: linear-gradient(#3a67ab, #e8f6ff 100%);
}
div {
position: relative;
width: 400px;
height: 400px;
background-image:
linear-gradient(115deg, transparent 48%, brown, #996600, brown, transparent 52%),
linear-gradient(60deg, transparent 48%, brown, #996600, brown, transparent 52%),
radial-gradient(circle 10px at 50% 50%, #333333 30%, #999999 50%, transparent 50%),
radial-gradient(circle 10px at 50% 50%, #333333 30%, #999999 50%, transparent 50%),
radial-gradient(circle at 50% 50%, white 30%, #eeeeee 50%, transparent 50%),
radial-gradient(circle at 50% 50%, white 30%, #eeeeee 50%, transparent 50%),
radial-gradient(circle at 50% 50%, white 30%, #eeeeee 50%, transparent 50%);
background-size:
100px 100px, 100px 100px,
15px 15px, 15px 15px,
200px 200px, 300px 300px, 400px 400px;
background-position:
95% 120px, 5% 120px,
46% 80px, 54% 80px,
50% 0, 50% 90px, 50% 220px;
}
div::after {
content: "";
border: transparent solid 4px;
border-left: orange 30px solid;
height: 1px;
width: 1px;
position: absolute;
left: 50%;
top: 100px;
}
div::before {
content: "Only one <div>";
font-size: min(6vh, 2rem);
justify-content: center;
display: flex;
font-family: comic-sans, papyrus, sans-serif;
}
</style>
</head>
<body>
<div></div>
</body>
</html>