Skip to content

Commit

Permalink
adjust animation speed
Browse files Browse the repository at this point in the history
  • Loading branch information
shanoysinc committed Jul 27, 2021
1 parent 60572a1 commit f27e3a5
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
.wall {
background-color: hsl(208, 97%, 10%);
border: 1px dotted hsl(208, 97%, 10%);
/* animation: moveInSpring 400ms ease forwards; */
animation: moveInSpring 400ms ease forwards;
/* will-change: transform; */
}

Expand All @@ -63,7 +63,8 @@
border-top: 1px solid hsla(0, 0%, 84%, 0.1);
border-bottom: 1px solid hsla(0, 0%, 84%, 0.544);
border-right: 1px solid hsla(0, 0%, 84%, 0.1);
animation: circle-to-square 700ms forwards;
/* transition: all 200ms; */
animation: circle-to-square 1.5s both;
}

.arrow-right {
Expand Down Expand Up @@ -145,20 +146,15 @@ select option {

@keyframes circle-to-square {
0% {
transform: scale(0);
opacity: 0;
}
30% {
border-radius: 50%;
transform: scale(0.5);
opacity: 1;
background-color: rgba(4, 251, 119, 0.509);
/* background-color: hsla(254, 97%, 55%, 0.786); */
}

80% {
background-color: rgba(4, 251, 119, 0.509);
border-radius: 50%;
transform: scale(0.8);
background-color: hsla(254, 97%, 55%, 0.786);
}
100% {
border-radius: 0;
Expand Down

0 comments on commit f27e3a5

Please sign in to comment.