Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scroll top button. #66

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,14 @@
<li class="nav-item">
<a class="nav-link nav-btn get-btn" href="https://www.buymeacoffee.com/sahityaroy" target="_blank">Support</a>
</li>
<li class="nav-item">
<!-- Back to top button -->
<a class="gotopbtn" href="#"> <i class="fas fa-arrow-up"></i> </a>
</li>
</ul>
</div>
</nav>
</div>
</header>
<!--
==============
HOME
HOME
==============
-->
<section class="header-section d-flex align-items-center">
Expand All @@ -108,7 +104,7 @@ <h1>Learn With fun <br> on <span>any schedule</span></h1>
</section>
<!--
==============
Cards
Cards
==============
-->
<section class="cards-section sec-padding">
Expand Down Expand Up @@ -148,7 +144,7 @@ <h5>760+ Student</h5>
</section>
<!--
==============
Course
Course
==============
-->
<section class="course-section sec-padding" id="course">
Expand Down Expand Up @@ -484,7 +480,7 @@ <h6>Available</h6>

<!--
==============
Video
Video
==============
-->
<section class="video-section sec-padding" id="start-learning">
Expand Down Expand Up @@ -516,7 +512,7 @@ <h2>Helping people to grow their careers, every day!</h2>
</section>
<!--
==============
Testimonial
Testimonial
==============
-->
<div class="container">
Expand Down Expand Up @@ -554,7 +550,7 @@ <h2>Helping people to grow their careers, every day!</h2>
</div>
<!--
==============
Subscribe
Subscribe
==============
-->
<section class="subscribe-section" id="subscribe">
Expand All @@ -571,7 +567,7 @@ <h2>Do you want to be an instructor?</h2>
</section>
<!--
==============
Footer
Footer
==============
-->
<footer class="footer-section">
Expand Down Expand Up @@ -646,6 +642,7 @@ <h3>Additional Links</h3>
<div class="copyright text-center">
<h5>Copyright © 2021 <span>SahityaRoy</span></h5>
</div>
<a class="gotopbtn" href="#"> <i class="fas fa-arrow-up"></i> </a>
</footer>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
Expand Down
4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -691,14 +691,14 @@ body {
width: 50px;
height: 50px;
background: #27ae60;
right: 50px;
right: 25px;
bottom: 25px;
text-decoration: none;
text-align: center;
line-height: 50px;
color: white;
font-size: 22px;
border-radius: 50%;
margin-right: 40px;
}

.gotopbtn {
Expand Down