Skip to content

Commit

Permalink
Bug fix letmein effect
Browse files Browse the repository at this point in the history
  • Loading branch information
dixso committed Jan 7, 2017
1 parent 0864e38 commit 98760ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/custombox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -900,9 +900,9 @@ $effect23: #{$cb}-flash;
transform: scale(1);
opacity: 1;
}
@mixin letmeinOverlayAction($transform) {
@mixin letmeinOverlayAction($transform, $origin: 50% 0) {
transform: $transform;
transform-origin: 50% 0;
transform-origin: $origin;
transform-style: preserve-3d;
}

Expand Down Expand Up @@ -947,7 +947,7 @@ $effect23: #{$cb}-flash;
}
@keyframes letmeinTopOverlay {
to {
@include letmeinOverlayAction(rotateX(2deg));
@include letmeinOverlayAction(rotateX(2deg), 0 50%);
}
}
@keyframes letmeinOutTopOverlay {
Expand Down

0 comments on commit 98760ee

Please sign in to comment.