Hi Shahir!
This is a really nice animation, I like it a lot.
I edited your work and now it works without javascript. I also changed the html, to make it semantically correct, and accessible.
The trick is, that I changed the list items to radio buttons, and used the :checked selector on the input tags.
Please check it: jsfiddle.net/polgarj/96hgm27c/6/
Thanks, Dear Jozsef.
I have checked yours it's better than mine.
I appreciate your time. 😊
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Shahir!
This is a really nice animation, I like it a lot.
I edited your work and now it works without javascript.
I also changed the html, to make it semantically correct, and accessible.
The trick is, that I changed the list items to radio buttons, and used the :checked selector on the input tags.
Please check it:
jsfiddle.net/polgarj/96hgm27c/6/
Thanks, Dear Jozsef.
I have checked yours it's better than mine.
I appreciate your time. 😊