html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div></div>
<nav>
<h1>Rainbow Wave</h1>
<p>Created by <strong>Remy Lafata</strong></p>
</nav>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
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
div {
float: left;
width: 6000em;
height: 400px;
margin: 40px;
color: #FFF;
background: repeating-linear-gradient( blue, green, yellow, red, green, violet 30px);
}
div {
animation-name: colorchange;
animation-duration: 3s;
animation-timing-function: ease-in;
animation-delay: 1s;
animation-iteration-count: infinite;
animation-direction: reverse;
height:150px;
width:600em;
border:4px solid blue;
background-color: yellow;
-webkit-animation-name: colorchange;
-webkit-animation-duration: 3s;
-webkit-animation-timing-function: ease-in;
-webkit-animation-delay: 1s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-direction: reverse;
}
@keyframes colorchange {
Enter to Rename, Shift+Enter to Preview
js
js
1
alert("Please feel free to copy and paste but do not forget to like and comment");
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run