add: add transition.css
This commit is contained in:
parent
11beefdb44
commit
5eda0685ed
|
@ -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;
|
||||
|
|
|
@ -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…
Reference in New Issue