How does the before-after slider work?
Hey, quick question how does that before/after slider actually work? Like, when you drag it and the image changes, what’s going on behind the scenes?
It’s basically just two images stacked on top of each other. One’s the “before” and the other’s the “after.” When you drag the slider, it’s not really switching anything it just shows more or less of the top image.
I think it works by kind of hiding part of one image , so when you move the slider, you’re just revealing the other image underneath.