From 0cfa918a480f781326e80ab2fb3b110ed6061eca Mon Sep 17 00:00:00 2001 From: rahat2134 Date: Mon, 15 Jan 2024 17:50:06 +0530 Subject: [PATCH] addgototopbtn --- index.html | 25 +++++++++++++++++++++++++ styles.css | 19 ++++++++++++++++++- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index a1614f96..53d45ad4 100644 --- a/index.html +++ b/index.html @@ -219,5 +219,30 @@

Address

Copyright © 2023 Arpan Chowdhury. All rights reserved. + + + \ No newline at end of file diff --git a/styles.css b/styles.css index ea4f0c40..a221aa3a 100644 --- a/styles.css +++ b/styles.css @@ -531,4 +531,21 @@ header { .footer__container { grid-template-columns: repeat(2, 1fr); } -} \ No newline at end of file +} +/* doing changes */ +#goToTopBtn { + display: none; + position: fixed; + bottom: 20px; + right: 20px; + background-color: #007bff; + color: #fff; + padding: 10px; + border: none; + border-radius: 5px; + cursor: pointer; +} + +#goToTopBtn:hover { + background-color: #0056b3; +}