Skip to content

Commit

Permalink
Merge pull request #25 from appirio-tech/transition
Browse files Browse the repository at this point in the history
Add Slide Transition to Modal
  • Loading branch information
samsep committed Mar 12, 2016
2 parents e5f2980 + 4a736e0 commit 56e2425
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/styles/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,18 @@ modal {
@include display(flex);
@include justify-content(center);
@include flex-wrap(wrap);
@include transform(scale(0));
@include transition (all 0.2s ease-in-out);

position : fixed;
top : 0;
top : 100vh;
left : 0;
width : 100%;
height : 100%;
z-index : 1000;
opacity : 0;

&.show {
@include transform(scale(1));

top: 0;
opacity: 1;
}

Expand All @@ -35,4 +33,3 @@ modal {
}
}
}

0 comments on commit 56e2425

Please sign in to comment.