diff --git a/index.html b/index.html index 9550d13..bc60b86 100644 --- a/index.html +++ b/index.html @@ -69,6 +69,27 @@ padding: 20px; transition: width 0.3s; /* Smooth transition for width change */ } + .scroll-to-top { + position: fixed; + bottom: 65px; + right: 30px; + background-color: #007bff; + color: #fff; + border: none; + border-radius: 50%; + padding: 12px 16px; + font-size: 20px; + cursor: pointer; + display: none; /* Hidden by default */ + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); + transition: opacity 0.3s ease; + height: 48px; + width: 48px; + } + + .scroll-to-top.show { + display: block; /* Show when the class 'show' is added */ + } @@ -626,5 +647,28 @@

Who to follow

}); + + + + + diff --git a/up_arrow.png b/up_arrow.png new file mode 100644 index 0000000..5700c13 Binary files /dev/null and b/up_arrow.png differ