I need to strategically place four div
elements in relation to another element. I have a rectangular div
, and my goal is to insert four div
elements at each of its corners. While I am aware of the CSS attribute "position: relative"
, it only allows me to position elements based on their original placement. What I want to achieve is to position these div
elements not with respect to their default location, but with respect to a different element (the rectangle). How can I accomplish this?