Answer the question
In order to leave comments, you need to log in
How to make the last of the active blocks a different color in css?
Good day.
I'm making a slider (using the slick plugin), a problem arose, I need to remove the margin-right for the last of the active (those that the user currently sees) elements, but I still can't.
Simplified example: https://jsfiddle.net/w1uafe0r/7/ (you need to change the color of the last green block)
UPD : updated the example, led to a more truthful version
UPD 2 : forgot to add, it would be nice if the solution was not tied to the number active (there may be fewer of them)
UPD 3 : I updated the example again, again more truthful (the color and martig need to be changed just for the content), I'm sorry.
Maybe you have some ideas, thanks.
Answer the question
In order to leave comments, you need to log in
It seems to have solved the problem
. I chose SEO PRO in the cnc settings and oc_seo_url
added a line to the table where query = common / home, and the keyword is empty.
and everything started working fine.
https://jsfiddle.net/w1uafe0r/4/
for a more truthful version
https://jsfiddle.net/w1uafe0r/5/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question