1

I am using below code, but not working.

<SCRIPT type="text/javascript" src="jquery-1.11.0.min.js"></SCRIPT>
<script>
    $(document).ready(function(){       
        $('#translate').mouseover(function(){           
            $(this).animate({'transform':'translate(50px,0px)'},'slow');// not working
            //$(this).css("transform","translate(50px,0px)");   //works fine        
        });
   });
</script>

My jsfiddle is : https://jsfiddle.net/jsnagaraj37/0xr3aqkm/5/

Example : http://www.w3schools.com/css/css3_2dtransforms.asp - ( 2d rotate on mouseover)

151291
  • 3,308
  • 7
  • 48
  • 81

0 Answers0