Commit 1ad52ea8 by 李伟康

commit 替换动画

1 parent 87ac6b0d
......@@ -184,7 +184,7 @@ export default {
.showView {
z-index: 2;
display: block;
animation: show-view 0.25s ;
animation: show-view-left 0.25s ;
}
.pen-box {
position: fixed;
......@@ -202,4 +202,14 @@ export default {
height: 100%;
}
}
@keyframes show-view-left {
0%{
transform: translateX(1000%);
box-shadow: 0 8rpx 22rpx 0 #00000029;
}
100%{
transform: translateX(0);
box-shadow: 0 8rpx 22rpx 0 #00000029;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!