cmiscm / stickerjs

MIT License
726 stars 129 forks source link

Background color staying in place while sticker is peeled #1

Open tripstar22 opened 10 years ago

tripstar22 commented 10 years ago

Cool plugin. I followed the docs but when I hover over my stickers the peeling action occurs but my background-color is still underneath the area that is being peeled. Here is a fiddle of my problem. http://jsfiddle.net/tripstar22/gDVY8/

cmiscm commented 10 years ago

Add background-color or background-image at .sticker-img class. Check this out :) - http://jsfiddle.net/gDVY8/2/

tripstar22 commented 10 years ago

Nice. Thanks.

armsmani commented 10 years ago

How i add background image when i peel image(default should one image when i mouse peel should be different image). Is it possible sticker