Stack two Images

Hi.

Give the div container the size of the images.
Give the div container Position:relative (has no visual change but it’s important)
Give each of the image Position:absolute and click the top left corner.
Images are now stacked. Their position ic calculated relatively to the container because it’s positionned too.

8 Likes