CSS-only responsive image map

Use case | Source

This is an attempt to achieve responsiveness in image maps using CSS; specifically using: height, width and clip-path to set the <area> element's dimensions and shape, and the top and left properties to set positioning relative to the parent <map> element.

Example

(Resize the viewport!)

Shortcuts Maps for HTML on GitHub Twitter CBC GeoGratis MapML Directory GMail The Weather Network Procurement / Tenders Google Maps GCDocs GitHub

Issues