Skip to content

Commit

Permalink
Add load animation to LogoScroll
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitrrine committed Jul 13, 2024
1 parent 4c03226 commit 30a0e13
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/LogoScroll.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
width: 720px;
min-height: 4em;
overflow: hidden;
animation: 5s scroller-load;
}
.logo-scroll_inner {
Expand All @@ -41,6 +42,12 @@
min-height: calc(25px + 0.2em);
}
@keyframes scroller-load {
from {
opacity: 0;
}
}
@keyframes scroll {
to {
transform: translateX(calc(-50% - 2.5em));
Expand Down

0 comments on commit 30a0e13

Please sign in to comment.