Summary Files Commits Branches @commit @diff @stats
path: root / src / carousels.less
diff options
context:
space:
mode:
Commitf9ad6ed63d035fedf03cdb1f78e133add1b94c10 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-03-15 14:24:14 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-03-15 14:24:14 +0800
Files1c56ab5999f42af0695b68bdb37914e948e81136 /src/carousels.less
Spectre-Dark-Gruvbox-f9ad6ed63d035fedf03cdb1f78e133add1b94c10.tar
Spectre-Dark-Gruvbox-f9ad6ed63d035fedf03cdb1f78e133add1b94c10.tar.gz
Spectre-Dark-Gruvbox-f9ad6ed63d035fedf03cdb1f78e133add1b94c10.zip
Parent4b7f4493bb078f70236345ff045be9da34629ce9 (diff)
Minor update
1 files changed, 5 insertions, 5 deletions
-rw-r--r--src/carousels.less10
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%);
}
}