html
html
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div>
<p>Have a good day!</p>
</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
/* You can add infinite as a value for animation but the default will only run once and you can edit any css rule but this is just a simple example!*/
p{
background: red;
text-align:center;
height:50px;
width: auto;
-webkit-animation: palse 5s; /* Safari 4.0 - 8.0 */
animation: palse 5s;
}
div{
background: gray;
height:50%;
width:100%;
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes palse {
0% {
top: 0px;
background: red;
width: 100px;
}
100% {
top: 200px;
background: yellow;
width: 300px;
}
}
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run