-
Notifications
You must be signed in to change notification settings - Fork 0
/
transition-effect.css
70 lines (58 loc) · 1.15 KB
/
transition-effect.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* ef0: None */
/* Zoom in */
.slide:not(.show).ef1 {
transform: scale(0);
}
/* Zoom out */
.slide:not(.show).ef2 {
transform: scale(5);
}
/* Right to left */
.slide:not(.show).ef3 {
transform: translateX(100vw);
}
/* Left to right */
.slide:not(.show).ef4 {
transform: translateX(-100vw);
}
/* Top to bottom */
.slide:not(.show).ef5 {
transform: translateY(100vw);
}
/* Bottom to top */
.slide:not(.show).ef6 {
transform: translateY(-100vw);
}
/* Rotate aruond */
.slide:not(.show).ef7 {
transform: rotateY(4rad);
}
.slide.show.ef7 {
transition: all 1s ease;
}
/* Rotate left to right */
.slide:not(.show).ef8 {
transform: rotateZ(-3.14rad);
}
/* Rotate right to left */
.slide:not(.show).ef9 {
transform: rotateZ(3.14rad);
}
/* Skew left to right */
.slide:not(.show).ef10 {
transform: skew(.312rad);
}
.slide.show.ef10 {
transition: all .75s ease;
}
/* Skew right to left */
.slide:not(.show).ef11 {
transform: skew(-.312rad);
}
.slide.show.ef11 {
transition: all .75s ease;
}
/* Fade in */
.slide.show.ef12 {
transition: all .75s ease;
}