javascript - Jquery : animate function not supports for 2D transform -
i using below code, 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 : https://jsfiddle.net/jsnagaraj37/0xr3aqkm/5/
example : http://www.w3schools.com/css/css3_2dtransforms.asp - ( 2d rotate on mouseover)
Comments
Post a Comment