I want to create a viewport inside a webpage with scrollbars.
In this viewport I want to place a collage of images at arbitrary displacements relative to each other.
The first image added should be centered in the viewport. It may not be as large as the viewport.
As you add other images over time, they represent some polar coordinates from some other image. I can rotate the polar coordinates to X Y offsets.
When I add images, I might want them to stay away from all other images or, above all, other images, etc .; can i use negative offsets? Can scrollbars on the viewport automatically scroll the used range of coordinates of children, and not be from 0,0?
What container class with which CSS settings do I use for the viewport? What CSS position settings do I use to place children?
source
share