Skip to content

Commit

Permalink
feat: dialog animation change
Browse files Browse the repository at this point in the history
  • Loading branch information
lideming committed Aug 5, 2023
1 parent 287861d commit b028e29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ a.item {
background: var(--color-bg);
border-radius: 5px;
box-shadow: 0 0 12px var(--color-shadow);
animation: dialogin .2s ease-out;
animation: dialogin .3s cubic-bezier(0,0,0,1);
z-index: 10001;
display: flex;
flex-direction: column;
Expand All @@ -274,8 +274,8 @@ a.item {
}

.fading-out .dialog {
transition: transform .3s ease-in;
transform: scale(.85);
transition: transform .3s cubic-bezier(.5,0,1,1);
transform: scale(.7);
}

.dialog-title, .dialog-content, .dialog-bottom {
Expand Down Expand Up @@ -303,7 +303,7 @@ a.item {

@keyframes dialogin {
0% {
transform: scale(.85);
transform: scale(.5);
}
100% {
transform: scale(1);
Expand Down

1 comment on commit b028e29

@vercel
Copy link

@vercel vercel bot commented on b028e29 Aug 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

webfx – ./

webfx-lideming.vercel.app
webfx-git-master-lideming.vercel.app
webfx.yuuza.net

Please sign in to comment.