D
D
dm_black2015-02-24 16:36:17
css
dm_black, 2015-02-24 16:36:17

:hover doesn't work after going through the first loop of the animation. Where does it lie?

There is a slider: codepen.io/hw/pen/biEBz
Animation is in progress, everything works, the bullets from below turn pink in turn.
And while the first circle of animation is going on (the first circle is pink), hover works properly for the second and third, they turn pink on hover.
But as soon as autoplay has switched to the second bullet, the first hover does not work anymore.
After the first cycle of animation, none of the bullets hover does not work.
Also hover stops working after clicking on one of the bullets.
I hope I explained verbatim, please tell me where in the code this can be found and changed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Marina, 2015-03-02
@Valoo

If:
.csslider1 > .cs_bullets > label:hover{
background-color: #E34B64;
}
replace with:
.csslider1 > .cs_bullets > label:hover,
.csslider1 > .slide:checked ~ .cs_bullets > label:hover {
background-color: #E34B64;
}
hover will work

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question