Before & After Image

Before & After Image

Go to Source

See the Code
See it Full Page
See Details

Pure JS before & after image slider.

I needed to make a before & after image slider with the divider bar at an angle, it also needed to be lightweight and responsive.

mix-blend-mode will not work in Edge (yet) or IE.

Image from – https://unsplash.com/photos/mWRR1xj95hg

This Pen uses: HTML, SCSS, Babel, and Babel