Skip to content

Commit

Permalink
Increase length of fade in animation
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-wallace committed Jun 25, 2024
1 parent f2d891d commit c29c3ee
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,26 +56,27 @@ a {
.content {
padding: 5rem 10rem 5rem 50%;
overflow-y: auto;
--animation-delay: 200ms;
}

.content > div {
animation: 0.5s appear ease-in-out both;
}

.content > div:nth-child(1) {
animation-delay: 100ms;
animation-delay: var(--animation-delay);
}

.content > div:nth-child(3) {
animation-delay: 200ms;
animation-delay: calc(2 * var(--animation-delay));
}

.content > div:nth-child(5) {
animation-delay: 300ms;
animation-delay: calc(3 * var(--animation-delay));
}

.content > div:nth-child(7) {
animation-delay: 400ms;
animation-delay: calc(4 * var(--animation-delay));
}

.logo {
Expand Down Expand Up @@ -190,7 +191,7 @@ h2 a i {
hr {
border-bottom: 1px solid #fff;
margin: 2rem 0;
animation: fade reverse 0.5s;
animation: fade reverse 1s;
}

.skills {
Expand Down

0 comments on commit c29c3ee

Please sign in to comment.