Commit e63a0af6 by 李伟康

commit 提交

1 parent 941a477b
......@@ -156,13 +156,20 @@ export default {
}
}
.to-left {
animation: to-move 0.25s forwards;
animation: to-left 0.25s forwards;
}
.to-right {
animation: to-move 0.25s forwards;
animation-direction: reverse;
animation: to-right 0.25s forwards;
}
@keyframes to-move {
@keyframes to-left {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(0);
}
}
@keyframes to-right {
0% {
transform: translateX(100%);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!