Skip to content

Commit bbe407f

Browse files
committed
attempt to add back beginning animation
1 parent a129717 commit bbe407f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/routes/Header.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
div {
4040
width: 100vw;
4141
transition: border-color 0.2s 0.2s;
42-
animation: fadein 0.2s 0.75s;
42+
animation: fadein 0.2s 0.75s both;
4343
border-bottom: 2px solid var(--purple-500);
4444
background-color: var(--black);
4545
}
@@ -52,6 +52,7 @@
5252
}
5353
}
5454
div.hide {
55+
animation: none;
5556
border-bottom-color: transparent !important;
5657
}
5758
</style>

0 commit comments

Comments
 (0)