Nest `.is--visible` declarations
This commit is contained in:
parent
51de468dbb
commit
515fe375e6
|
@ -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%;
|
||||||
|
|
Loading…
Reference in New Issue