Skip to content

Commit

Permalink
Merge pull request #13 from AtharvaK123/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Mintype authored May 14, 2024
2 parents a2db652 + f7266bc commit 3801ee9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
<a href="#services">Services</a>
<a href="#our-mission">Our Mission</a>
</div>
<button id="myBtn">
<a href="#top" style="color: white">🠉</a>
</button>
<div class="frontpage b1">
<div class="frontpage-items-container">
<h1 data-aos="fade" data-aos-duration="1000">Sites For All</h1>
Expand Down Expand Up @@ -55,4 +58,4 @@ <h2 data-aos="fade" data-aos-duration="1000">Our Mission</h2>
AOS.init();
</script>
</body>
</html>
</html>
29 changes: 28 additions & 1 deletion styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,33 @@ html, body {
scroll-behavior: smooth;
}

/*Floating Back-To-Top Button*/
#myBtn {
position: fixed;
bottom: 10px;
float: right;
right: 1.0%;
max-width: 50px;
max-height: 50px;
width: 50.0%;
height: 50.0%;
font-size: 24px;
border-color: rgba(85, 85, 85, 0.2);
background-color: rgb(148, 129, 129);
padding: 5px; border-radius: 50px;
text-decoration: none;
}
/*On Hover Color Change*/
#myBtn:hover {
background-color: #7dbbf1;
}

#myBtn a {
text-decoration: none;
font-weight: bold;
text-shadow: 0.5px 0.5px 15px black;
}

.navbar {
background-color: #333;
padding-top: 10px;
Expand Down Expand Up @@ -128,4 +155,4 @@ html, body {
width: 100%;

}
}
}

0 comments on commit 3801ee9

Please sign in to comment.