Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Design

Lush Sleutsky
Lush Sleutsky
14,044 Points

How does one make this effect?

I came across this page:

http://www.sbnation.com/nhl/2014/10/29/7129815/scott-hartnell-larry-bird-twins-halloween

And the effect they use on the image, is one of the coolest things I've seen. I was wondering if anyone knew what language or whatever was used to make it. There is 2 images in a single div, and there is a bar going down vertically, and you can drag the bar left or right and reveal either one image or the other. You'll see what I mean...

1 Answer

Hey Lush, I've included a few examples of this below for you.

No problem :smiley: