Nest `.is--visible` declarations

This commit is contained in:
Michael Rose 2017-03-16 15:39:17 -04:00
parent 51de468dbb
commit 515fe375e6
1 changed files with 4 additions and 4 deletions

View File

@ -82,16 +82,16 @@
transform: none; transform: none;
box-shadow: 0 1em 5em 0 rgba(0, 0, 0, 0.125); box-shadow: 0 1em 5em 0 rgba(0, 0, 0, 0.125);
} }
&.is--animatable > .inner {
transition: all 330ms ease-out;
}
} }
&.is--animatable > .inner { &.is--animatable > .inner {
transition: all 130ms ease-in; transition: all 130ms ease-in;
} }
&.is--visible.is--animatable > .inner {
transition: all 330ms ease-out;
}
> .inner { > .inner {
position: relative; position: relative;
width: 100%; width: 100%;