add: add transition.css

This commit is contained in:
Pan 2017-11-07 11:41:59 +08:00
parent 11beefdb44
commit 5eda0685ed
2 changed files with 11 additions and 11 deletions

View file

@ -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;

View file

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