diff --git a/index.html b/index.html index f60439e..134d75a 100644 --- a/index.html +++ b/index.html @@ -100,9 +100,41 @@

Contact

© Copyright - All Rights Reserved - Made With ❤️ by Aslam Sayyad

+ + + + + - - + + + diff --git a/style.css b/style.css index e6c7a60..ba67d55 100644 --- a/style.css +++ b/style.css @@ -518,3 +518,48 @@ html{ color:rgb(247, 242, 242); text-decoration: underline; } +/* Back to Top button style */ +#BacktoTop { + display: block; /* Ensure the button is part of the layout */ + position: fixed; + bottom: 20px; + right: 20px; + width: 55px; + height: 55px; + background-color: rgb(170, 5, 5); + border-radius: 50%; + border: none; + cursor: pointer; + text-align: center; + line-height: 50px; + font-size: 24px; + z-index: 1000; + visibility: hidden; + opacity: 0; + transition: opacity 1.5s, visibility 1.5s, box-shadow 0.3s ease; + box-shadow: 0 0 0 2px #FFF, 0 0 0 3px #262626, 0 0 6px 2px rgba(255, 255, 255, 0.2); /* Adjusted outer rings */ + overflow: hidden; +} + +.circle1 { + display: flex; + align-items: center; + justify-content: center; +} + +#BacktoTop:hover { + background-color: rgb(106, 12, 11); /* Darker shade on hover */ + transform: scale(1.1); /* Slight zoom effect on hover */ +} + +#BacktoTop svg { + fill: #b4a933; + transition: fill 0.3s ease-in-out; +} + +#BacktoTop:hover svg { + fill: #ffd700; +} + + +