Skip to content

Commit

Permalink
transition on opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
lordblendi committed Sep 1, 2017
1 parent d45a0a4 commit c60f4da
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,18 @@ nav {

.iframe-view {
position: relative;
width: 0%;
heigth: 0%;
margin-bottom: 0;
border: none;
opacity: 0;
left: 100%;
@include transition(left 1.0s ease-in-out);

// &.right {
// left: -100%;
// }


&.active {
margin-bottom: -4px;
opacity: 1;
left: 0;
width: 100%;
height: 100%;
margin-bottom: -4px;
opacity: 1;
width: 100%;
height: 100%;
@include transition(opacity 0.75s ease-in-out);

&.hidden {
width: 0%;
heigth: 0%;
margin-bottom: 0;
opacity: 0;
}

iframe {
Expand Down

0 comments on commit c60f4da

Please sign in to comment.