Robin Cox
Robin Cox

Reputation: 1490

zooming background images with CSS3

I have tried to make gentle zooming backgrounds like on this site http://iworks.ozythemes.com but with css3. I have tried transforming with scale on the body but then everything scales, which I don't want.

Any clues?

Upvotes: 0

Views: 139

Answers (2)

jk jk
jk jk

Reputation: 1075

Unfortunately currently have no method to zooming a background image using css,maybe you can try background-size:cover; to fit the background image.

Upvotes: 0

Rob
Rob

Reputation: 4947

How about the background-size CSS3 property?

You can change the value of it with javascript.

Upvotes: 2

Related Questions