Skip to content

Commit

Permalink
feat(BaseMessage): awesome slide-down animation
Browse files Browse the repository at this point in the history
  • Loading branch information
PleahMaCaka committed Nov 2, 2023
1 parent 8c09f45 commit 46fa0ad
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/lib/components/chat/messages/BaseMessage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,19 @@
max-width: 35%;
width: 100%;
animation: slideDown 0.3s ease-in-out;
}
@keyframes slideDown {
0% {
transform: translateY(-10px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
.chat-proc {
Expand Down

0 comments on commit 46fa0ad

Please sign in to comment.