Browse Source

Pull request #2382: 无JIRA任务 chore: 优化一下

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit 'a95bb35ca43107a0969692e5bbfb984b7d0bb1a7':
  chore: 优化一下
es6
guy 3 years ago
parent
commit
2b3ad6df4f
  1. 20
      src/less/motion.less

20
src/less/motion.less

@ -53,26 +53,8 @@
} }
} }
.fade-motion-enter() {
opacity: 0;
animation-timing-function: linear;
.motion-common(@animation-duration-base);
animation-name: biFadeIn;
animation-play-state: running;
}
.fade-motion-leave() {
animation-timing-function: linear;
.motion-common-leave(@animation-duration-base);
animation-name: biFadeOut;
animation-play-state: running;
pointer-events: none;
}
.zoom-big-motion-enter() { .zoom-big-motion-enter() {
transform: scale(0); // need this by yiminghe transform: scale(0);
opacity: 0; opacity: 0;
animation-timing-function: @ease-out-circ; animation-timing-function: @ease-out-circ;

Loading…
Cancel
Save