+ 3
Why @keyframes doesn't work after i change class?
I want to these blocks (red, black and red) turn back after click with the same animation. https://code.sololearn.com/WaHGl5IV7U8T/?ref=app
4 Réponses
+ 2
CSS sheet is broken, <!-- turn back --> on line 97 causes an error due to not being the correct way to comment in css.
remove the line or change too /*turn back*/ and It should all work
+ 3
JME Ohh!! Maybe! Cuz I never saw any problem with text outside the curly braces!
👍
I am sorry, if you felt that I was being rude!(not at all my intention)
+ 1
Namit Jain please confirm everything before giving critique.
Having an improper comment prevents .altfirstblock css from being applied correctly as it changes the selector from being a class to being gibberish followed by a class