How to work with Click Event Handler jQuery
my JS Fiddle : https://jsfiddle.net/DTcHh/19134/
I Created this hover effect with css . i want the same effect on('click')
with jQuery . When the user clicks on any one of the item . the clicked item will gets activated :
and the other items will be deactivated :
Answers 1
In you onclick method, you could use jQuery css method for adding css just like that.
You could also define class in css and after onclick, add the class to that specific item by using addClass method.
CSS: