-
-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathfall.scss
36 lines (30 loc) · 856 Bytes
/
fall.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
34
35
36
@use './utils';
@keyframes marp-incoming-transition-__builtin__fall {
@include utils.send-backward;
}
@keyframes marp-outgoing-transition-__builtin__fall {
from {
animation-timing-function: cubic-bezier(0.4, 0, 1, 0.6);
transform: perspective(100vmax) rotateX(0);
transform-origin: 50% 100%;
}
to {
transform: perspective(100vmax) rotateX(-90deg);
transform-origin: 50% 100%;
filter: brightness(0.75);
}
}
@keyframes marp-incoming-transition-backward-__builtin__fall {
from {
animation-timing-function: cubic-bezier(0, 0.4, 0.6, 1);
filter: brightness(0.75);
transform: perspective(100vmax) rotateX(-90deg);
transform-origin: 50% 100%;
}
to {
transform: perspective(100vmax) rotateX(0);
transform-origin: 50% 100%;
}
}
@keyframes marp-outgoing-transition-backward-__builtin__fall {
}