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 './transition.scss';
@import './btn.scss';
@import './element-ui.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全局样式
.app-container {
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;
}