0

How can i add click animation to the li column

3rd Oct 2017, 6:05 PM
DarshOP
DarshOP - avatar
2 odpowiedzi
0
That depends on what you're trying to do. You'll have to be more specific if you want a more specific answer. One way that I often make my elements interactive is by adding classes to elements when certain actions are triggered such as hovering or clicking. Then I use jQuery to add that class usually with a transition defined that lets css handle the animation. You could also use pure Javascript/jQuery to handle the action and the animation, but I believe that is more expensive in regards to processing power. I could be wrong on that last part.
4th Oct 2017, 3:54 AM
Trevor Kelly
Trevor Kelly - avatar
0
I want to make my list item to animate when clicked
4th Oct 2017, 5:40 AM
DarshOP
DarshOP - avatar