Skip to content

Commit

Permalink
add : scroll to top
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomThacker committed Dec 29, 2023
1 parent 8c5d085 commit bda5c91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -436,14 +436,16 @@ <h4>-</h4>

<div class="footerBottom">
<div class="footerBottomLeft">
<p><i class="fa-solid fa-chevron-up"></i>&nbsp;Back to Top</p>
<a onclick="lenis.scrollTo('.heroSection')"><p><i class="fa-solid fa-chevron-up"></i>&nbsp;Back to Top</p></a>
</div>
<div class="footerBottomRight">
<p>© 2024 All Rights Reserved | MatraX</p>
</div>
</div>
</footer>



<!--
<div class="newpage"></div>
<div class="newpage1"></div>
Expand Down
4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ footer {
}
}

@media only screen and (max-width: 600px) {
@media screen and (min-width: 320px) and (max-width: 768px) {
.scroller h4 {
font-size: 4rem;
}
Expand All @@ -1232,7 +1232,7 @@ footer {
}

.footerTop button {
font-size: 0.5rem;
font-size: 0.6rem;
}
}
/* ------------Footer----------- */

0 comments on commit bda5c91

Please sign in to comment.