How to use CSS3 to animate parts of an image
Posted
by
Sang Froid
on Stack Overflow
See other posts from Stack Overflow
or by Sang Froid
Published on 2012-10-27T16:09:47Z
Indexed on
2012/10/27
17:01 UTC
Read the original article
Hit count: 185
I'd like to create an image slider with some cool 3d effects, such as this one: http://tympanus.net/codrops/2011/09/05/slicebox-3d-image-slider/
The thing is, while I know how to use CSS3 3D transforms to rotate something, I don't know how to animate "parts" of an image. In the link above, the script seems to somehow "slice" the image into several pieces, and then animate those separately. However, the image was not sliced up beforehand - it is one whole image.
Can anyone recommend any tutorials on how to achieve this effect, or perhaps just give the name of whatever technique was used to do this? Thank you in advance!
© Stack Overflow or respective owner