forked from AkkomaGang/admin-fe
add: add transition.css
This commit is contained in:
parent
11beefdb44
commit
5eda0685ed
2 changed files with 11 additions and 11 deletions
|
@ -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;
|
||||||
|
|
10
src/styles/transition.scss
Normal file
10
src/styles/transition.scss
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue