Skip to content

Commit

Permalink
add slight animation to links
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza-ahmadi committed Nov 6, 2023
1 parent adb9e60 commit 3622941
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ const links = [
{
links.map(({ name, url }) => (
<li class="mb-6 sm:mb-4">
<a class="border-b-2 pb-1" href={url}>
<a
class="border-b-2 pb-1 bg-black active:bg-white active:text-black active:pl-4 transition-all"
href={url}
>
{name}
</a>
</li>
Expand Down

0 comments on commit 3622941

Please sign in to comment.