aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/sass/lib/animation.scss
blob: cc18d59b95b0f81e59ae587e1cb061d019ddb546 (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;
  }
}