Is there a way to set the script for: before a button with a class .btn-expand transform style: rotate (360deg); ? I tried to just do it, but it does not work ..
$('.btn-expand').live('click', function(event) { $(this).css("transform", "rotate(360deg)"); }); Or what is another way out for this, since it cannot be done in this way?
Here is the complete code - >>> https://jsfiddle.net/pdgeatbs/