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

added hover effect on "cart" and "become a seller" options in navbar #1142

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: 29 additions & 4 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,29 @@ body {
}
}

/* Hover effect for Cart */
.nav-link.cartLogoandname:hover {
background-color: #dcdcdc;
/* Light grey background */
color: #2874F0;
/* Flipkart theme color for text */
border-radius: 10px;
/* Rounded corners */
transition: background-color 0.2s, color 0.2s;
/* Smooth transition */
}

/* Hover effect for Become a Seller */
.nav-link:hover {
background-color: #dcdcdc;
/* Light grey background */
color: #2874F0;
/* Flipkart theme color for text */
border-radius: 10px;
/* Rounded corners */
transition: background-color 0.3s, color 0.3s;
/* Smooth transition */
}

/* for category tab */

Expand Down Expand Up @@ -118,7 +141,8 @@ body {
.categories>li:hover>ul li li:hover {
color: rgb(112, 112, 166);
}
.categories li ul li img{

.categories li ul li img {
display: none;
}

Expand Down Expand Up @@ -177,7 +201,8 @@ body {
}

#searchbar input:focus {
border-color: #2874F0; /* Change the border color on focus */
border-color: #2874F0;
/* Change the border color on focus */
}

/* Account Dropdown */
Expand Down Expand Up @@ -234,6 +259,7 @@ body {
transform: scale(1.1);
}


/* adding Transition property to the images of the img-box section */
#img-box img {
width: 100%;
Expand Down Expand Up @@ -501,5 +527,4 @@ body {
100% {
transform: rotate(360deg);
}
}

}
Loading