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 issue #510 Fix issue #510 Added hover effects #515

Merged
merged 1 commit into from
Oct 17, 2024
Merged
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
3 changes: 2 additions & 1 deletion aboutus.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@ <h2 class="logo-text">Collect your GamingTools</h2>
<!-- Added classes to the <a> tags to add the Hover animations -->
<a class="facebook" href="#"><i class="fab fa-facebook"></i></a>
<a class="instagram" href="#"><i class="fab fa-instagram"></i></a>
<a class="twitter" href="#" ><i class="fa-brands fa-x-twitter"></i></a>
<a class="twitter" href="#"><i class="fab fa-twitter"></i></a>
<a class="youtube" href="#"><i class="fab fa-youtube"></i></a>

</div>
</div>
<div class="footer-section links">
Expand Down
45 changes: 33 additions & 12 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -782,34 +782,36 @@ button {
line-height: 40px;
border-radius: 50%;
color: #d3d3d3;
transition: all 0.3s;
transition: transform 0.3s ease, background 0.3s ease; /* Added transform property */
transition: all 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.socials a:hover {
transform: scale(1.2); /* Zoom effect on hover */
transform: scale(1.2) rotate(10deg); /* Zoom and rotate effect */
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}
/* Hover zoom effect for facebook icon */

/* Hover zoom and color change effect for social icons */
.socials .facebook:hover {
background: blue;
background: linear-gradient(to right, #3b5998, #192f6a); /* Gradient background */
color: white;
}
/* Hover zoom effect for instagram icon */

.socials .instagram:hover {
background: orangered;
background: linear-gradient(to right, #e1306c, #f77737); /* Instagram gradient */
color: white;
}
/* Hover zoom effect for twitter[X] icon */

.socials .twitter:hover {
background: black;
background: linear-gradient(to right, #1da1f2, #14171a); /* Gradient for X (Twitter) */
color: white;
}
/* Hover zoom effect for youtube icon */

.socials .youtube:hover {
background: red;
background: linear-gradient(to right, #ff0000, #cc0000); /* YouTube gradient */
color: white;
}

/* Links hover effect */
.links ul {
list-style-type: none;
padding: 0;
Expand All @@ -821,14 +823,33 @@ button {
font-size: 1.1em;
color: #d3d3d3;
text-decoration: none;
transition: all 0.3s;
position: relative;
transition: all 0.3s ease;
}

.links ul a::before {
content: "";
position: absolute;
width: 5px;
height: 100%;
background-color: white;
left: 0;
top: 0;
transform: scaleY(0);
transition: transform 0.3s ease;
transform-origin: top;
}

.links ul a:hover {
color: white;
padding-left: 10px;
}

.links ul a:hover::before {
transform: scaleY(1); /* Add a vertical line effect on hover */
}


.contact-form .text-input {
background: #272727;
color: #bebdbd;
Expand Down