src/style.css
@@ -20,4 +20,23 @@ width: 100%; display: block; } .height-img { height: 100%; display: block; } /* fade-transform */ .fade-transform-leave-active, .fade-transform-enter-active { transition: all 0.2s; } .fade-transform-enter-from { opacity: 0; transition: all 0.2s; transform: translateX(-30px); } .fade-transform-leave-to { opacity: 0; transition: all 0.2s; transform: translateX(30px); }