Skip to content

Commit

Permalink
Update Scroll to top button
Browse files Browse the repository at this point in the history
  • Loading branch information
aslams2020 committed Jun 2, 2024
1 parent ac48c5f commit 2dcca2e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Css-files/scroll-top-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@

.scroll-top-button {
position: fixed;
top: 82%;
right: 2.4%;
/* top: auto; */
bottom: 3.2%;
left: 1.4%;
width: 40px;
height: 40px;
display: flex;
Expand All @@ -26,15 +27,15 @@

@keyframes bouncing {
0% {
top: 82%;
transform: translateY(0);
}

50% {
top: 81%;
transform: translateY(-5px);
}

100% {
top: 82%;
transform: translateY(0);
}
}

Expand Down

0 comments on commit 2dcca2e

Please sign in to comment.