Skip to content

Commit

Permalink
[PAGE] Fixed build error
Browse files Browse the repository at this point in the history
[Description]
- Add scroll to top button style
  • Loading branch information
goomba25 committed Aug 7, 2024
1 parent 015449d commit ae0eada
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/styles/_components/scrollbutton.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.scrollToTop {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #0070f3;
color: white;
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
font-size: 20px;
cursor: pointer;
transition: background-color 0.3s;
}

.scrollToTop:hover {
background-color: #0051a8;
}

0 comments on commit ae0eada

Please sign in to comment.