aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/sass/lib/animation.scss
blob: 751b34c81d983ef7c78d3ed707a89b18da696ed7 (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
28
29
30
// ==========================================================================
// Animations
// ==========================================================================

// Fade
@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes shrink-hide {
  0% {
    opacity: 0.5;
    width: 38px;
  }

  20% {
    width: 45px;
  }

  100% {
    opacity: 0;
    width: 0;
  }
}