diff options
Minor update
1 files changed, 5 insertions, 5 deletions
| -rw-r--r-- | src/carousels.less | 10 |
diff --git a/src/carousels.less b/src/carousels.less index 99b0a9c..c106f3e 100644 --- a/src/carousels.less +++ b/src/carousels.less @@ -13,7 +13,7 @@ position: relative; .carousel-item { - animation: carousel-slideout 1s 1; + animation: carousel-slideout 1s ease-in-out 1; height: 100%; left: 0; margin: 0; @@ -55,7 +55,7 @@ &:nth-of-type(2):checked ~ .carousel-container .carousel-item:nth-of-type(2), &:nth-of-type(3):checked ~ .carousel-container .carousel-item:nth-of-type(3), &:nth-of-type(4):checked ~ .carousel-container .carousel-item:nth-of-type(4) { - animation: carousel-slidein .75s 1; + animation: carousel-slidein .75s ease-in 1; opacity: 1; z-index: 99; } @@ -127,10 +127,10 @@ @keyframes carousel-slideout { 0% { opacity: 1; - transform: translateX(0) scale(1); + transform: translateX(0); } 100% { - opacity: 0; - transform: translateX(-50%) scale(.95); + opacity: 1; + transform: translateX(-50%); } } |