Skip to content

Commit

Permalink
feat: improve transition
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed Sep 1, 2023
1 parent ab0e736 commit 497a311
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/homepage/_languages.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
align-items: center;
width: $container-width;
/* default: hidden */
opacity: 0;
height: 0;
visibility: hidden;
transition: all $transition-time;
Expand Down Expand Up @@ -134,6 +135,7 @@
transition-delay: 40ms;
}
.language-list {
opacity: 1;
height: 52px;
visibility: visible;
transition-delay: 60ms;
Expand Down

0 comments on commit 497a311

Please sign in to comment.