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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -