zurb / twentytwenty

jQuery Plugin to Compare Images
ISC License
1.27k stars 295 forks source link

CSS clip for afterImg #54

Closed martindefatte closed 7 years ago

martindefatte commented 8 years ago

When using transparent .PNG or .SVG for the before and after images, you can always see the afterImg below, while the beforeImg gets a clipping rect mask applied on the fly. It would be great, if the afterImg could also be masked inversely while using the slider.

raphaeleidus commented 7 years ago

@martindefatte this was resolved by #41 which was just merged