css3 - jQuery's CSS property -


this may stupid question, i'm new jquery , not understanding css property thought was,

it's blowing mind that

-webkit-transform: rotate(30deg);  

and

$("#cloud").css({     "top" :  + 100 + "px",       "left" : "100px"}); 

work.

but when try , reuse same idea here,

$("cloud").css({     "-webkit-transform" : "rotate(30deg)"}); 

it doesn't work. seems though using exact same syntax.

i apologize stupid question.

~austin

it works: http://jsfiddle.net/nzmfw/ messed selector:

$("cloud").css({"-webkit-transform" : "rotate(30deg)"}); 

should :

$("#cloud").css({"-webkit-transform" : "rotate(30deg)"}); 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -