细节调整
This commit is contained in:
16
src/App.vue
16
src/App.vue
@@ -74,19 +74,25 @@ button::after {
|
||||
color: #fed847;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
@keyframes fadeInOut {
|
||||
0% {
|
||||
transform: translateY(20px);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
30% {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
}
|
||||
80% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.fade-in {
|
||||
animation: fadeIn 0.3s ease forwards;
|
||||
.fade-in-out {
|
||||
animation: fadeInOut 1s ease forwards;
|
||||
}
|
||||
|
||||
@keyframes fadeOut {
|
||||
|
||||
Reference in New Issue
Block a user