.search-enter-active,
.search-leave-active {
  width: 242px;
  transition: width 0.5s;
}
.search-enter,
.search-leave-to {
  width: 60px;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s;
}
.fade-enter, 
.fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}
