-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (83 loc) · 2.35 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
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>New in CSS</title>
<style>
* {
box-sizing: border-box;
}
:root {
--color1: #F17D28;
--color2: #F19C1B;
--color3: #ECD711;
--color4: #30BFBF;
--color5: #0799BA;
}
body {
font-family: sans-serif;
margin: 0;
position: relative;
display: flex;
justify-content: center;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
body,
html {
height: 100%;
overflow: hidden;
}
html {
background: black;
}
img {
width: 100%;
height: auto;
position: absolute;
inset: 0;
margin-top: 5%;
z-index: -1;
}
ul {
font-size: 1.1em;
background: white;
padding: .5em;
border: 1px solid black;
list-style-position: inside;
border-radius: 1em;
position: relative;
max-width: 22%;
}
li {
margin-bottom: .5em;
}
ul::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
box-shadow: 0px 0px 0px 100px var(--color1), 0px 0px 0px 200px var(--color2), 0px 0px 0px 300px var(--color3), 0px 0px 0px 400px var(--color4), 0px 0px 0px 1000px var(--color5);
border-radius: 1em;
z-index: -2;
}
</style>
</head>
<body>
<img src="./assets/goths-pointing.png" width="1416" height="1062" />
<ul>
<li><a href="./has.html">:has (no Firefox)</a></li>
<li><a href="./scroll-animation.html">Scroll-driven animation (no Firefox or Safari)</a></li>
<li><a href="./trig.html">Trig functions</a></li>
<li><a href="./transforms.html">Individual transform rules</a></li>
<li><a href="./container-queries.html">Container queries</a></li>
<li><a href="./nesting.html">Nesting</a> (In progress!)</li>
</ul>
<script>
</script>
</body>
</html>