Skip to content

Commit

Permalink
Merge pull request #121 from shubhanshurav/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Karamraj authored Oct 12, 2023
2 parents 06bb133 + 84950a3 commit 3e57afd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ <h6 class="footer-heading text-uppercase mb-3 pb-3 border-4 border-bottom border
<!-- Footer -->
</div>
<!-- End of .container -->
<button onclick="topFunction()" id="myBtn" title="Go to top">&#8593;</button>
<button onclick="topFunction()" id="myBtn" title="Go to top"><i class="fa fa-angle-up"></i></button>


<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
Expand Down
27 changes: 17 additions & 10 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,6 @@ body::-webkit-scrollbar-thumb {
border-radius: 100px;
}



#myBtn {
display: none;
position: fixed;
Expand All @@ -378,16 +376,25 @@ body::-webkit-scrollbar-thumb {
z-index: 99;
border: none;
outline: none;
background-color: #dc3545;
color: white;
background-color: #d8cece;
border: 3px solid rgb(255, 12, 12);
color: rgb(255, 9, 9);
cursor: pointer;
padding: 15px;
border-radius: 100px;
font-size: 18px;
/* padding: 15px; */
border-radius: 50px;
font-size: 25px;
margin: auto;
width: 50px;
height: 50px;
}

#myBtn i{
font-weight: bold;
}

#myBtn:hover {
background-color: #f9b9c0;
color: black;
border: 1px solid red;
background-color: #ec2626;
color: white;
border: 3px solid white;
}

0 comments on commit 3e57afd

Please sign in to comment.