How to put img on another img with a button, checkbox or radio?

Hello.

There are two superimposed on each image, with some code, you can overlay the top image on the bottom?

here html and css
jsfiddle.net/Mbvd4

Thank you.
March 23rd 20 at 19:23
1 answer
March 23rd 20 at 19:25
Solution
Click or hang additional styles on the same image and out the other, or hang/remove classes. So.
Thank you! Almost what you need.

And how to make the image with the overlay class was not originally, and it appeared just by pressing a button on the second press been? - Nathaniel.Stanton commented on March 23rd 20 at 19:28
@Nathaniel.Stanton so you can hide/show the top image - Jarret_Pfeffer commented on March 23rd 20 at 19:31

Find more questions by tags jQueryJavaScriptCSS