-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathanimation-rainbow.html
More file actions
43 lines (43 loc) · 1.06 KB
/
Copy pathanimation-rainbow.html
File metadata and controls
43 lines (43 loc) · 1.06 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Rainbow</title>
<meta name="author" value="Alexandra Dedok" />
<meta name="description" value="Animation" />
<style>
body {
width: 200px;
height: 200px;
background: red;
animation: switch 10s infinite;
height: 100%;
}
@keyframes switch {
0%, 100% {
background: red;
}
15% {
background: orange;
}
30% {
background: yellow;
}
45% {
background: green;
}
60% {
background: blue;
}
75% {
background: indigo;
}
90% {
background: violet;
}
}
</style>
</head>
<body>
<p>Kek</p>
</body>
</html>