I want to replace my radio buttons with images and without jQuery^^ if its possible. So here's my fiddle, images are shown in the fiddle-file:
<input type="radio" class="btn1" value="" name="item" id="radio1">
<label class="label1" for="radio1"> <img src="IMAGE"> </label>
.btn1{
display: none;
}
.btn1:checked + label {
opacity: 1;
}
https://jsfiddle.net/yxgvhL2j/
I want to replace the radio button with the cat-image. and If I click at the catbutton(checked) it should show the dog image: http://pix.iemoji.com/images/emoji/apple/ios-9/256/dog-face.png
I tried a lot with display block and none, and integrating the image in the CSS... completely in vain.
Pleaase help help :'-(!