Responsive Hotspots

This code sample shows how to create hotspots for a responsive image entirely in CSS and HTML. When the image scales according to changes in viewport width, the hotspots and their respective tool tips will move accordingly.

Sandbox Demo

Photo of my dog with the hotspots and active tooltip

comments powered by Disqus