From be2e9ed4f3133e5a72379078fec4d39a2d9ad01f Mon Sep 17 00:00:00 2001 From: Amanda Pinsker Date: Fri, 21 Jun 2019 12:36:26 +0200 Subject: [PATCH] Adjust animation --- src/toasts/toasts.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/toasts/toasts.scss b/src/toasts/toasts.scss index 3f92aa88..08bf2567 100644 --- a/src/toasts/toasts.scss +++ b/src/toasts/toasts.scss @@ -50,16 +50,16 @@ bottom: -100px; left: 0; animation-name: toast; - animation-duration: 10s; + animation-duration: 6s; animation-delay: 1s; - animation-iteration-count: infinite; - animation-timing-function: ease; + animation-iteration-count: 1; + animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1); } // Pop up animation @keyframes toast { 0% {bottom:-100px;} - 5% {bottom:0px;} + 10% {bottom:0px;} 90% {bottom:0px;} 100% {bottom:-100px;} }