Skip to content

Commit 2b9f30a

Browse files
committed
Button
1 parent 72b5ef3 commit 2b9f30a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
}
180180

181181
#return-to-top:hover {
182-
background: rgba(0, 0, 0, 0.55);
182+
background: rgba(0, 0, 0, 0.35);
183183
}
184184

185185
#return-to-top:hover i {

web/script_2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if (!isFontAvailable('Menlo')) {
5454

5555
// ===== Scroll to Top ====
5656
$(window).scroll(function() {
57-
if ($(this).scrollTop() >= 50) { // If page is scrolled more than 50px
57+
if ($(this).scrollTop() >= 590) { // If page is scrolled more than 50px
5858
$('#return-to-top').fadeIn(200); // Fade in the arrow
5959
} else {
6060
$('#return-to-top').fadeOut(200); // Else fade out the arrow

web/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
}
180180

181181
#return-to-top:hover {
182-
background: rgba(0, 0, 0, 0.55);
182+
background: rgba(0, 0, 0, 0.35);
183183
}
184184

185185
#return-to-top:hover i {

0 commit comments

Comments
 (0)