Declare CSS3 transform: matrix(1, 0, 0, 1, 2732, 0) using jQuery .css(); -
in current project doing css3 animations using library. in case 1 of element getting
css
#element { transform: matrix(1, 0, 0, 1, 2732, 0) }
css property in element style. want modify element.style
using jquery follows.
jquery
$("#element").css("transform", "matrix(1, 0, 0, 1, 100, 0)");
but above jquery code not working me. can 1 me how using jquery.
edit
i trying reset matrix matrix(1, 0, 0, 1, 100, 0), ideally element should shift extreme left side of screen , further animation should start left right. not shifting towards left side. , starts moving right side outside right window wall.
Comments
Post a Comment