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

Hover Effect is done #129

Closed
wants to merge 1 commit into from
Closed
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
33 changes: 32 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,37 @@ nav ul li.login:hover {
cursor: pointer;
}

.row .col-2 img{
border: 2px solid #ddd; /* Default border */
transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}


.row .col-2 img:hover{
border-color: #ff5e5e; /* Border changes to red on hover */
box-shadow: 0 8px 20px rgba(255, 94, 94, 0.6); /* Red shadow */
transform: scale(1.1);
}

.col-2 .add-btn img{
background-color: #ff4081;
border: none;
color: white;
padding: 5px 10px;
font-size: 16px;
border-radius: 5px;
transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
position: relative; /* Make sure it's aligned properly on the right */
right: 0;
}

.col-2 .add-btn img:hover{
background-color: #ff9e80; /* Change button color on hover */
transform: scale(1.1); /* Slightly enlarge button */
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.col-1 p {
font-size: 16px;
color: #a1a1a1;
Expand Down Expand Up @@ -624,4 +655,4 @@ button:hover {
.scroll-top:hover {
background: #ff6062;
}