Blame view

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

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

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

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