html
html
1
2
3
4
5
6
7
8
<html>
<head>
<title>change change</title>
</head>
<body>
<div></div>
</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 {
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
position: absolute;
width: 200px;
height: 200px;
transform: rotate(10deg);
-webkit-transform: rotate(50deg);
animation-name: colorchange;
animation-duration: 20s;
-webkit-animation-name: colorchange;
-webkit-animation-duration: 20s;
}
@keyframes colorchange
{
0% {background-color: red; }
10% {background-color: orange; }
20% {background-color: yellow; }
30% {background-color: green; }
40% {background-color: cyan; }
50% {background-color: indigo; }
60% {background-color: violet; }
}
@-webkit-keyframes colorchange
{
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run