3 ms·
Mt secret is to use <center> but I cant remember how many times I've considered using js and absolute positioning. The user clicks an image, the image is enlarg
by 6510 4y ago
Mt secret is to use <center> but I cant remember how many times I've considered using js and absolute positioning. The user clicks an image, the image is enlarged to fit the viewport, remaining space is filled with a color. Doable with css. The user zooms the image (scale), so far so good... the user pans the image... uhh how do I limit panning in css? bounding rectangle + get computered style??