Positioning blocks relative to an image
问题 I have the following situation: I have a container of a fixed size. Inside the container I display an image (of unknown size) that is bigger than the container. I want to display the image as big as possible (but keeping the aspect ratio). I also want the image to be vertically and horizontally centered in the container (so far so good, I know how do that) Now I want to have two overlays (of unknown size) over the image: one aligned with the top and one with the bottom of the image. I cannot