add: add transition.css

pull/285/head
Pan 7 years ago
parent 11beefdb44
commit 5eda0685ed

@ -1,4 +1,5 @@
@import './mixin.scss'; @import './mixin.scss';
@import './transition.scss';
@import './btn.scss'; @import './btn.scss';
@import './element-ui.scss'; @import './element-ui.scss';
@import './sidebar.scss'; @import './sidebar.scss';
@ -109,17 +110,6 @@ code {
} }
} }
//globl transition css
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.28s;
}
.fade-enter,
.fade-leave-active {
opacity: 0;
}
//main-container //main-container
.app-container { .app-container {
padding: 20px; padding: 20px;

@ -0,0 +1,10 @@
//globl transition css
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.28s;
}
.fade-enter,
.fade-leave-active {
opacity: 0;
}
Loading…
Cancel
Save