aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/sass/lib/animation.scss
blob: 64eb559576740981d6b69cd4787a48800ac3528b (plain)
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
// ==========================================================================
// Animations
// ==========================================================================

// Fade
@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes shrinkHide {
    0% {
        opacity: 0.5;
        width: 38px;
    }
    20% {
        width: 45px;
    }
    100% {
        opacity: 0;
        width: 0;
    }
}