Skip to content

Commit

Permalink
feat(Animate): add slide animations
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Aug 14, 2019
1 parent 2bec304 commit 407dc5b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/animate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
| fadeInLeft | fadeOutLeft |
| fadeInRight | fadeOutRight |
| fadeInUp | fadeOutUp |
| slideInDown | slideOutUp |
| slideInLeft | slideOutLeft |
| slideInRight | slideOutRight |
| slideInUp | slideOutDown |
| zoomIn | zoomOut |
| expandInDown | expandOutUp |
| expandInUp | expandOutDown |
Expand Down
34 changes: 34 additions & 0 deletions src/animate/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
@import "scss/_fading-exits/_fadeOutLeft.scss";
@import "scss/_fading-exits/_fadeOutRight.scss";
@import "scss/_fading-exits/_fadeOutUp.scss";
@import "scss/_sliding-exits/sliding-exits.scss";
@import "scss/_sliding-entrances/sliding-entrances.scss";
@import "scss/_zooming-entrances/_zoomIn.scss";
@import "scss/_zooming-exits/_zoomOut.scss";
@import "scss/_expand-entrances/_expandInDown.scss";
Expand Down Expand Up @@ -60,6 +62,38 @@
@include fadeOutUp();
}

.slideInUp {
@include slideInUp();
}

.slideInDown {
@include slideInDown();
}

.slideInLeft {
@include slideInLeft();
}

.slideInRight {
@include slideInRight();
}

.slideOutUp {
@include slideOutUp();
}

.slideOutRight {
@include slideOutRight();
}

.slideOutLeft {
@include slideOutLeft();
}

.slideOutDown {
@include slideOutDown();
}

.zoomIn {
@include zoomIn();
}
Expand Down

0 comments on commit 407dc5b

Please sign in to comment.