DEMO #1

Responsive image annotations

Features...

  • + Create and position elements over top of an image.
  • + Maintain those positions relative to the image as the screen and underlying image resize & reposition in your layout.
  • + Clickable annotations
  • + Animation possibilities using Webflow Interactions
  • + Custom annotation design including text, SVG icons, etc.
  • - No in-built CMS or database support for the annotations is easily implemented.

Responsive image annotations

Overlay annotation elements on top of an image, and maintain those positions responsively.

How to implement

See the designer view of this demonstration by clicking the button at the top.
Then view this part of the layout for details;

01 The basic process

Outer DIV is Relative

Photo inside is Block, 100% width

Annotations are positioned % from Left and Top, and can be adjusted in the designer for precise positioning.

Note responsive sizing of the labels, as the image will get small.

02 Notes

Annotations are square aspect for simplicity, but don't necessarily need to be.

Dealing with variable sized labels.

May require direct CSS mods to allow for math.

Idea- a 0x0 outer frame which controls position. An inner frame which offests -50%w -50%h for positioning.