<div class="image-popout">
<input type="checkbox" name="tab" id="image1">
<label class="l1" for="image1">
<img src="https://placehold.co/250x250" width="250" height="250" alt="">
</label>
<label class="l2" for="image1">
<img src="https://placehold.co/150x150" width="150" height="150" alt="">
</label>
</div>
<div class="image-popout">
<input type="checkbox" name="tab" id="image2">
<label class="l1" for="image2">
<img src="https://placehold.co/250x250" width="250" height="250" alt="">
</label>
<label class="l2" for="image2">
<img src="https://placehold.co/150x150" width="150" height="150" alt="">
</label>
</div>
Back to Snippets
CSS3 Image Popout Example
Image popout using only CSS3 and HTML5, no JavaScript or external libraries needed. Useful for photographic websites to present photos in higher resolution, a simple popout effect that works on all major browsers.