mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-18 12:34:25 +08:00
refactor(message): new animation
This commit is contained in:
parent
2fa3592bde
commit
64931d1eee
@ -67,14 +67,15 @@
|
||||
}
|
||||
&.is-going-to-emerge {
|
||||
opacity: 0;
|
||||
transform: translateY(-12px);
|
||||
transform: translateY(-12px) scale(.5);
|
||||
transform-origin: top center;
|
||||
max-height: 0px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&.is-vanishing {
|
||||
opacity: 0;
|
||||
transform: translateY(-12px);
|
||||
transform-origin: top center;
|
||||
transform: translateY(-12px) scale(.5);
|
||||
max-height: 0px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user