工具栏弹出隐藏效果优化
This commit is contained in:
@@ -255,13 +255,25 @@
|
||||
}
|
||||
|
||||
@keyframes leftIn {
|
||||
from {transform: translate3d(0, 0, 0);}
|
||||
to {transform: translate3d(333px, 0, 0);}
|
||||
from {
|
||||
transform: translate3d(0, 0, 0);
|
||||
background:$colorBodyBg;
|
||||
}
|
||||
to {
|
||||
transform: translate3d(333px, 0, 0);
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes leftOut {
|
||||
from {transform: translate3d(333px, 0, 0);}
|
||||
to {transform: translate3d(0, 0, 0);}
|
||||
from {
|
||||
transform: translate3d(333px, 0, 0);
|
||||
background: none;
|
||||
}
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
background:$colorBodyBg;
|
||||
}
|
||||
}
|
||||
|
||||
%anmLeftIn {
|
||||
@@ -275,13 +287,25 @@
|
||||
}
|
||||
|
||||
@keyframes smallLeftIn {
|
||||
from {transform: translate3d(0, 0, 0);}
|
||||
to {transform: translate3d(300px, 0, 0);}
|
||||
from {
|
||||
transform: translate3d(0, 0, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
transform: translate3d(300px, 0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes smallleftOut {
|
||||
from {transform: translate3d(300px, 0, 0);}
|
||||
to {transform: translate3d(0, 0, 0);}
|
||||
from {
|
||||
transform: translate3d(300px, 0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
%anmSmallLeftIn {
|
||||
|
||||
Reference in New Issue
Block a user