Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganaik2004 committed Aug 29, 2023
1 parent b460141 commit 86b5531
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
13 changes: 9 additions & 4 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,7 @@ footer ul li a:hover {

/* ====================== START OF SCROLL-TO-TOP BUTTON===================== */

#progress {
.progress {
background-color: #023055;
position: fixed;
bottom: 20px;
Expand All @@ -1787,9 +1787,13 @@ footer ul li a:hover {
border-radius: 50%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
cursor: pointer;
z-index: 100;
opacity: 0;
}

#progress:hover {
.opa{
opacity: 1;
}
.progress:hover {
background: transparent;
background: #03e9f4;
color: #fff;
Expand All @@ -1798,7 +1802,7 @@ footer ul li a:hover {
0 0 100px #03e9f4;
}

#progress-value {
.progress-value {
display: block;
height: calc(100% - 15px);
width: calc(100% - 15px);
Expand All @@ -1808,6 +1812,7 @@ footer ul li a:hover {
place-items: center;
font-size: 35px;
color: #023055;
z-index: 100;
}

/*-----------active tab for navbar------------ ✅✅*/
Expand Down
8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -709,8 +709,8 @@ <h2>Bot AI Chat-bot</h2>
<!-- FOOTER SECTION END -->

<!-- ====================== START OF SCROLL-TO-TOP BUTTON===================== -->
<div id="progress">
<span id="progress-value"><i onclick="scrolltotop()" class="fa fa-arrow-up" aria-hidden="true"></i></span>
<div class="progress">
<span class="progress-value"><i onclick="scrolltotop()" class="fa fa-arrow-up" aria-hidden="true"></i></span>
</div>
<!-- ====================== END OF SCROLL-TO-TOP BUTTON===================== -->
</div>
Expand Down Expand Up @@ -783,6 +783,10 @@ <h4 class="chatbox-message-no-message">Ask me anything !</h4> -->
<script src="./main.js"></script>
<script src="./chatbot/script.js"></script>
<script>
let scroll1 = document.querySelector(".progress");
window.addEventListener("scroll",function(){
scroll1.classList.toggle("opa", window.scrollY > 700)
})
// slides for testimonials section
var swiper = new Swiper(".mySwiper", {
slidesPerView: 1,
Expand Down

0 comments on commit 86b5531

Please sign in to comment.