diff --git a/src/components/MyList.vue b/src/components/MyList.vue index 78796ad9848b3ec4038ec0a82600fdac3ef248f5..b6421062b6372f09626f374b511f9889e09d3fe8 100644 --- a/src/components/MyList.vue +++ b/src/components/MyList.vue @@ -1,6 +1,8 @@ @@ -35,4 +37,21 @@ export default { padding-left: 5px; margin-top: 10px; } + + .todo-item-enter-active { + animation: horizontal-move 0.1s linear; + } + + .todo-item-leave-active { + animation: horizontal-move 0.1s linear reverse; + } + + @keyframes horizontal-move { + from { + transform: translateX(100%); + } + to { + transform: translateX(0); + } + } \ No newline at end of file