Thursday, 15 May 2014

javascript - Cant animate image with jQuery -



javascript - Cant animate image with jQuery -

can somehow animate image on left in image on right. need smooth animation.

i found how without animation. css -webkit-filter: brightness(1000%);

just place 1 image on ot of , utilize fadeout() like

html

<div class="container-with-relative-position"> <img1> <img2 style="position: absolute;" id="img2"> </div>

js

$('#img2').fadeout(1000);

for js function can utilize trigger want click,'hover` etc. , html scheme of have do, not actual code.

javascript jquery css image animation

No comments:

Post a Comment