-
Notifications
You must be signed in to change notification settings - Fork 14
/
fortypercent.html
executable file
·59 lines (59 loc) · 1.08 KB
/
fortypercent.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8"/>
<title>Negative value for animation-delay</title>
<link href="../styles/style-edit.css" rel="stylesheet"/>
<style>
div {
border: 5px black solid;
color: white;
width: 10px;
font-family: sans-serif;
box-sizing: border-box;
margin-bottom: 2px;
}
article {
height: 10px;
background: red;
background: linear-gradient(to right, black 10%, white 10%);
background-size: 50px 10px;
margin: 20px 0;
position: relative;
}
article::after {
content:'';
height:10px;
width:5px;
position:absolute;
left:400px;
background-color:red;
}
article::after,
article::before {
height:300px!important;
opacity:0.25;content:"";
}
article::before {
position:absolute;
left:1000px;
width:5px;
background-color:black;
}
</style>
</head>
<body>
<style contenteditable id="editme">div { animation-name: move;
animation-duration: 10s;
animation-delay: -4s;
animation-timing-function: linear;
}
@keyframes move {
from {transform: translateX(0);}
to {transform: translateX(1000px);}
}
</style>
<article></article>
<div></div>
</body>
</html>