How do I go about coding an expanding image bounding box/frame when clicked on?

67 views Asked by At

So basically i would like to make image bounding boxes expand when clicked on. I don't want the images to expand but rather the bounding box sort of like in adobe indesign(if you are familiar with it) when you double click an image and you can move the image within the frame. Is this even possible? I recently got into coding and would like to know how i would go about coding this. Can this all be done through css or would i need to use javascript? I illustrated the concept to help further explain what I'm talking about. Please excuse me if i am incorrectly using terminology.

enter image description here

0

There are 0 answers