Skip to content

Commit

Permalink
feat: animation of dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nexmoe committed May 31, 2022
1 parent d4cae41 commit ed4bdfc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions nexmoe.css
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,18 @@ dialog {
border: none;
border-radius: var(--border-radius);
padding: calc(var(--nexmoe-gap) * 1.5);
animation-name: dialogScaleIn;
animation-duration: 0.2s;
}

@keyframes dialogScaleIn {
from {
transform: scale(0.5,0.5);
}

to {
transform: scale(1,1);
}
}

dialog menu {
Expand Down

0 comments on commit ed4bdfc

Please sign in to comment.