Skip to content

Commit

Permalink
Merge pull request #219 from Vishwajeet594/icon-fix
Browse files Browse the repository at this point in the history
 Fix Icons Visibility Issue
  • Loading branch information
07sumit1002 authored Oct 6, 2024
2 parents 7b96704 + fb24c6e commit 8e7e023
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions contactus.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="stylesheet" href="contactus.css">
<link rel="stylesheet" href="./css/demo.css">
<script src="https://kit.fontawesome.com/c32adfdcda.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />

</head>
<body>
Expand Down
5 changes: 5 additions & 0 deletions ride.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cabshare</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />

<!-- Link to CSS -->
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/css/bootstrap.min.css">
Expand Down Expand Up @@ -259,6 +261,9 @@ <h1>Rider Details!<span></span></h1>
</form>
</div>
</div>
<div id="topbtn" class="topbtn">
<a class="gotopbtn" href="#"><i class="fa-solid fa-angles-up"></i></a>
</div>
<!-- JavaScript for smooth scroll to top -->
<script>
document.getElementById('riderForm').addEventListener('submit', function(event) {
Expand Down
13 changes: 13 additions & 0 deletions serv.css
Original file line number Diff line number Diff line change
Expand Up @@ -263,4 +263,17 @@ footer {
display: block;
text-align: center;
}
.topbtn{
position: fixed;
width: 50px;
height: 50px;
bottom: 11px;
right: 29px;
text-decoration: none;
text-align: center;
line-height: 50px;
user-select: none;
font-size: 22px;
border-radius: 50%
}
}
4 changes: 4 additions & 0 deletions serv.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CabRental Services</title>
<link rel="stylesheet" href="serv.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
/* Add some basic styling for smooth scrolling */
html {
Expand Down Expand Up @@ -134,5 +135,8 @@ <h2>Special Occasions</h2>
});
</script>
</footer>
<div id="topbtn" class="topbtn">
<a class="gotopbtn" href="#"><i class="fa-solid fa-angles-up"></i></a>
</div>
</body>
</html>
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,11 @@ footer p {

}




.topbtn {

position: fixed;
width: 50px;
height: 50px;
Expand Down

0 comments on commit 8e7e023

Please sign in to comment.