-
-
Notifications
You must be signed in to change notification settings - Fork 109
/
coverflow.scss
33 lines (30 loc) · 911 Bytes
/
coverflow.scss
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
@keyframes marp-outgoing-transition-__builtin__coverflow {
from {
animation-timing-function: ease-in-out;
transform: perspective(50vw) translateX(0) rotateY(0) translateZ(0);
z-index: 1;
}
to {
filter: brightness(0.5);
transform: perspective(50vw)
translateX(calc(var(--marp-transition-direction, 1) * -60vw))
rotateY(calc(var(--marp-transition-direction, 1) * 70deg))
translateZ(-50vw);
z-index: 0;
}
}
@keyframes marp-incoming-transition-__builtin__coverflow {
from {
animation-timing-function: ease-in-out;
filter: brightness(0.5);
transform: perspective(50vw)
translateX(calc(var(--marp-transition-direction, 1) * 60vw))
rotateY(calc(var(--marp-transition-direction, 1) * -70deg))
translateZ(-50vw);
z-index: 0;
}
to {
transform: perspective(50vw) translateX(0) rotateY(0) translateZ(0);
z-index: 1;
}
}