Sunday, 25 August 2013

How to animate background image size in jquery

How to animate background image size in jquery

I am trying to make an animation of a background for a div.
I want it to look like the backgound image is being zoomed in to, like here:
http://www.teknologisk.dk/
For this purpose i want to be able to zoom in and out via jquery,
something in the lines of this:
$('.DIVNAME').css("background-size:", "3000px auto");
I just need the correct code for this
Any ideas?
Thanks :)

No comments:

Post a Comment