Skip to content

Commit

Permalink
updated top to bottom button
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushilverma002 committed Jul 16, 2023
1 parent ed30ba0 commit 3c8b7e5
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chatBot/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.chatbot__button {
position: fixed;
bottom: 35px;
bottom: 70px;
right: 40px;
width: 60px;
height: 60px;
Expand Down
Binary file modified img/iphone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,8 @@ <h1><label for="faq-6">How can I cancel an order?</label></h1>
</div>
</div>
</div>


<!-- FAQ SECTION ENDS -->

<div class="footer-container">
Expand Down Expand Up @@ -1060,7 +1062,8 @@ <h3 class="chatbox__title">VigyBag 24/7</h3>
</div>
</div>
<!-- chat bot finish -->

<!-- go to top -->
<a class="go-top" href="#"><i class="fa-solid fa-arrow-up fa-lg"></i></a>
<script src="./chatBot/script.js"></script>
<script src="./cart/js/util.js"></script>
<script src="./cart/js/main.js"></script>
Expand Down
30 changes: 29 additions & 1 deletion style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/* background color added in HTML */
scroll-behavior: smooth;
transition: 0.5s;
overflow-x: hidden;
/* overflow-x:hidden; */
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

Expand Down Expand Up @@ -1069,4 +1069,32 @@ div.c a {

.popup-details p{
font-size: .6em;
}

/* go to top */
.go-top {
position: fixed;
width: 50px;
height: 50px;
/* color: #2a2a72; */
background: linear-gradient(315deg, #227ebb 100%, #0a1458 20%, #243fe9 60%);
/* -webkit-background-clip: text;
-webkit-text-fill-color: transparent; */
bottom:10px;
right: 45px;
border-radius: 50%;
text-decoration: none;
text-align: center;
line-height: 50px;
color: white;
}
@media (max-width: 769px) {
.gotop{
right: 1.5rem;
}
}
@media (max-width: 426px) {
.gotop{
right: 1rem;
}
}

0 comments on commit 3c8b7e5

Please sign in to comment.