Answer the question
In order to leave comments, you need to log in
How to make it so that after the animation it remains, and does not return to the css or js output?
I have such a PEN:
https://codepen.io/tanya-nami/pen/xxrJLgY
The animation was corrected as I needed, BUT I need the background fill to remain after it reaches the end and not be removed. Please tell me how to do it? I would be very grateful because I can’t find a sensible example and way out! Thank you!
Answer the question
In order to leave comments, you need to log in
If you understand correctly, and it is necessary that after a single click, the circle fills with color and remains, then you can add a regular class
instead of a pseudo -class.:active
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question