-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCSS3-KeyframeAnimation.html
More file actions
68 lines (63 loc) · 1.17 KB
/
CSS3-KeyframeAnimation.html
File metadata and controls
68 lines (63 loc) · 1.17 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html>
<head>
<title>HTML5_CSS3_Example : Keyframe</title>
<style type="text/css">
div
{
width : 100px ;
height : 200px ;
background: green ;
animation: testAnimation 5s infinite ;
-moz-animation:testAnimation 5s infinite; /* Firefox */
-webkit-animation:testAnimation 5s infinite; /* Safari and Chrome */
}
@keyframes testAnimation
{
from
{
background:#AAABEB ;
width:50px ;
left: 0px ;
}
to
{
background: orange ;
width : 400px ;
left: 300px ;
}
}
@-moz-keyframes testAnimation /*Firefox*/
{
from
{
background:#AAABEB ;
width:50px ;
left: 0px ;
}
to
{
background: orange ;
width : 400px ;
left: 300px ;
}
}
@-webkit-keyframes testAnimation /* Safari and Chrome */
{
from
{
background:#AAABEB ;
width:50px ;
left: 0px ;
}
to
{
background: orange ;
width : 400px ;
left: 300px ;
}
}
</style>
</head>
<div>SKJAPP.com</div>
</html>