forked from pmiiunugiri/pmiiunugiri.github.io
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathanimasi.css
55 lines (40 loc) · 1.03 KB
/
animasi.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
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
.animat {
width: 100%;
position: relative;
-webkit-animation-name: example; /* Safari 4.0 - 8.0 */
-webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
-webkit-animation-delay: 2s; /* Safari 4.0 - 8.0 */
animation-name: example;
animation-duration: 4s;
animation-delay: -1s;
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes example {
75% { left:0px; top:200px;}
100% { left:0px; top:0px;}
}
/* Standard syntax */
@keyframes example {
75% { left:0px; top:200px;}
100% { left:0px; top:0px;}
}
.animat2 {
width: 100%;
position: relative;
-webkit-animation-name: animatest; /* Safari 4.0 - 8.0 */
-webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
-webkit-animation-delay: 2s; /* Safari 4.0 - 8.0 */
animation-name: animatest;
animation-duration: 5s;
animation-delay: -1s;
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes animatest {
75% { left:0px; top:200px;}
100% { left:0px; top:0px;}
}
/* Standard syntax */
@keyframes animatest {
75% { left:0px; top:200px;}
100% {left:0px; top:0px;}
}