Blame view

src/design/transition/scale.less 293 Bytes
陈文彬 authored
1
2
3
4
5
6
7
.scale-transition {
  .transition-default();

  &-enter-from,
  &-leave,
  &-leave-to {
    transform: scale(0);
8
    opacity: 0;
陈文彬 authored
9
10
11
12
13
14
15
16
17
18
  }
}

.scale-rotate-transition {
  .transition-default();

  &-enter-from,
  &-leave,
  &-leave-to {
    transform: scale(0) rotate(-45deg);
19
    opacity: 0;
陈文彬 authored
20
21
  }
}