mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-17 09:38:28 +01:00
Added sliding entrances and exits
Generic slideIn/Out animations for absolute elements
This commit is contained in:
parent
62c132cd90
commit
11b8b036b2
11 changed files with 911 additions and 753 deletions
|
@ -100,6 +100,19 @@
|
|||
"zoomOutLeft": true,
|
||||
"zoomOutRight": true,
|
||||
"zoomOutUp": true
|
||||
}
|
||||
},
|
||||
|
||||
"sliding_entrances": {
|
||||
"slideInDown": true,
|
||||
"slideInLeft": true,
|
||||
"slideInRight": true,
|
||||
"slideInUp": true
|
||||
},
|
||||
|
||||
"sliding_exits": {
|
||||
"slideOutDown": true,
|
||||
"slideOutLeft": true,
|
||||
"slideOutRight": true,
|
||||
"slideOutUp": true
|
||||
}
|
||||
}
|
||||
|
|
1533
animate.css
vendored
1533
animate.css
vendored
File diff suppressed because it is too large
Load diff
2
animate.min.css
vendored
2
animate.min.css
vendored
File diff suppressed because one or more lines are too long
14
source/sliding_entrances/slideInDown.css
Normal file
14
source/sliding_entrances/slideInDown.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
@keyframes slideInDown {
|
||||
0% {
|
||||
transform: translateY(-100%);
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.slideInDown {
|
||||
animation-name: slideInDown;
|
||||
}
|
14
source/sliding_entrances/slideInLeft.css
Normal file
14
source/sliding_entrances/slideInLeft.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
@keyframes slideInLeft {
|
||||
0% {
|
||||
transform: translateX(-100%);
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
.slideInLeft {
|
||||
animation-name: slideInLeft;
|
||||
}
|
14
source/sliding_entrances/slideInRight.css
Normal file
14
source/sliding_entrances/slideInRight.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
@keyframes slideInRight {
|
||||
0% {
|
||||
transform: translateX(100%);
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
.slideInRight {
|
||||
animation-name: slideInRight;
|
||||
}
|
14
source/sliding_entrances/slideInUp.css
Normal file
14
source/sliding_entrances/slideInUp.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
@keyframes slideInUp {
|
||||
0% {
|
||||
transform: translateY(100%);
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.slideInUp {
|
||||
animation-name: slideInUp;
|
||||
}
|
14
source/sliding_exits/slideOutDown.css
Normal file
14
source/sliding_exits/slideOutDown.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
@keyframes slideOutDown {
|
||||
0% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
100% {
|
||||
visibility: hidden;
|
||||
transform: translateY(100%);
|
||||
}
|
||||
}
|
||||
|
||||
.slideOutDown {
|
||||
animation-name: slideOutDown;
|
||||
}
|
14
source/sliding_exits/slideOutLeft.css
Normal file
14
source/sliding_exits/slideOutLeft.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
@keyframes slideOutLeft {
|
||||
0% {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
100% {
|
||||
visibility: hidden;
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
}
|
||||
|
||||
.slideOutLeft {
|
||||
animation-name: slideOutLeft;
|
||||
}
|
14
source/sliding_exits/slideOutRight.css
Normal file
14
source/sliding_exits/slideOutRight.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
@keyframes slideOutRight {
|
||||
0% {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
100% {
|
||||
visibility: hidden;
|
||||
transform: translateX(100%);
|
||||
}
|
||||
}
|
||||
|
||||
.slideOutRight {
|
||||
animation-name: slideOutRight;
|
||||
}
|
14
source/sliding_exits/slideOutUp.css
Normal file
14
source/sliding_exits/slideOutUp.css
Normal file
|
@ -0,0 +1,14 @@
|
|||
@keyframes slideOutUp {
|
||||
0% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
100% {
|
||||
visibility: hidden;
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
}
|
||||
|
||||
.slideOutUp {
|
||||
animation-name: slideOutUp;
|
||||
}
|
Loading…
Reference in a new issue