-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_reveal.scss
41 lines (35 loc) · 873 Bytes
/
_reveal.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
37
38
39
40
41
// sass/utils/_reveal.scss
.reveal__loaded {
.reveal {
[class*="reveal-"] {
opacity: 0 !important;
transform: translateY(-30px);
transition: opacity 0s, transform 0s !important;
}
}
[class*="reveal-"] {
transition: opacity 1s cubic-bezier(.5, 0, 0, 1), transform 1s cubic-bezier(.5, 0, 0, 1);
}
.reveal-1 {
transition-delay: .1s;
}
.reveal-2 {
transition-delay: .2s;
}
.reveal-3 {
transition-delay: .3s;
}
.reveal-4 {
transition-delay: .4s;
}
}
@media (prefers-reduced-motion: reduce) {
.reveal {
[class*="reveal-"] {
opacity: 1 !important;
transform: translateY(0px) !important;
transition-duration: 0s !important;
transition-delay: 0s !important;
}
}
}