Responsive Modal Overlay/ Pop-up Image Viewer
Works in modern browsers and IE8+
View the source of this page to see the HTML markup, CSS and JS.
Fullscreen 'click-to-close' Trigger
The whole of the modal overlay for this demo is a 'click-to-close' trigger, not just the small (×) at the top of the screen.
More demos and snippets
Did you find this useful? There are more demos and code snippets this way.