Skip to content

Commit

Permalink
Suggestion: Cradle loader smoother animation
Browse files Browse the repository at this point in the history
I think with these timing functions the animation of the loader looks less rigid.
  • Loading branch information
syx-webdev authored May 9, 2019
1 parent d459123 commit 3f935bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions effects/loader-cradle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
.balls div:nth-of-type(1) {
transform: translateX(-100%);
animation: left-swing 0.5s linear alternate infinite;
animation: left-swing 0.5s ease-in alternate infinite;
}
.balls div:nth-of-type(3) {
transform: translateX(-95%);
animation: right-swing 0.5s linear alternate infinite;
animation: right-swing 0.5s ease-out alternate infinite;
}
@keyframes left-swing {
Expand All @@ -47,4 +47,4 @@
transform: translateX(100%);
}
}
</style>
</style>

0 comments on commit 3f935bf

Please sign in to comment.