.yee-fade-motion(@yee-className, @keyframeName) {
  .yee-make-motion(@yee-className, @keyframeName);
  .@{yee-className}-enter,
  .@{yee-className}-appear {
    opacity: 0;
    animation-timing-function: linear;
  }
  .@{yee-className}-leave {
    animation-timing-function: linear;
  }
}

.yee-fade-motion(fade, antFade);

@keyframes antFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes antFadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
