Blame view

src/styles/animation/fade.less 521 Bytes
7c15ac9e   梁灏   add Message compo...
1
2
  .fade-motion(@className, @keyframeName) {
      .make-motion(@className, @keyframeName);
5d122b37   梁灏   support Alert
3
      .@{className}-enter-active, .@{className}-appear {
7c15ac9e   梁灏   add Message compo...
4
5
6
          opacity: 0;
          animation-timing-function: linear;
      }
5d122b37   梁灏   support Alert
7
      .@{className}-leave-active {
7c15ac9e   梁灏   add Message compo...
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
          animation-timing-function: linear;
      }
  }
  
  .fade-motion(fade, ivuFade);
  
  @keyframes ivuFadeIn {
      0% {
          opacity: 0;
      }
      100% {
          opacity: 1;
      }
  }
  
  @keyframes ivuFadeOut {
      0% {
          opacity: 1;
      }
      100% {
          opacity: 0;
      }
4ec205b6   梁灏   add Tag UI
30
  }