Why does my image look stretched and blurry inside the container?
If you set width and height to 100% but use object-fit: fill (default), the image stretches ignoring aspect ratio, causing distortion.
💡 Use object-fit: contain or cover to keep aspect ratio and avoid stretching (see render_steps 1 and 3).
Why is there empty space around my image inside the container?
object-fit: contain scales the image to fit inside the container while preserving aspect ratio, so empty space appears if aspect ratios differ.
💡 Use object-fit: cover to fill container fully but expect cropping (see render_steps 3 and 4).
Why does my image overflow the container or not scale at all?
object-fit: none shows the image at its natural size without scaling, so it can overflow if bigger than container.
💡 Use object-fit: scale-down to limit size or cover/contain to control scaling (see render_steps 5 and 6).