Nest `.is--visible` declarations
This commit is contained in:
parent
51de468dbb
commit
515fe375e6
|
@ -82,16 +82,16 @@
|
|||
transform: none;
|
||||
box-shadow: 0 1em 5em 0 rgba(0, 0, 0, 0.125);
|
||||
}
|
||||
|
||||
&.is--animatable > .inner {
|
||||
transition: all 330ms ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
&.is--animatable > .inner {
|
||||
transition: all 130ms ease-in;
|
||||
}
|
||||
|
||||
&.is--visible.is--animatable > .inner {
|
||||
transition: all 330ms ease-out;
|
||||
}
|
||||
|
||||
> .inner {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
|
Loading…
Reference in New Issue