Answer the question
In order to leave comments, you need to log in
How to alternate colors for the same css element?
Tell me how for one Css element you can alternate different background colors?
I want to alternate, one menu item has a white background with black text, the next item has a black background and white text
.widget.woocommerce li {
background-color: #fff;
color: #000;
}
Answer the question
In order to leave comments, you need to log in
You can not answer, the solution is just like 2 kopecks.
Google unbanned me.
:nth-child(2n)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question