In both of the following examples, click on the edit link to see the pen in full and look in the pen settings to see how I’ve linked the external JS and CSS.
This one is from Zurb’s excellent Foundation framework and is used to highlight the difference between two images. I’ve taken the JS and CSS and linked to my own pen:
But look at how the cards on the side of the Microsoft page flip. So with a bit of digging around I found jQuery Flip.