Img in div is too short

I have a flower image in a div which is 3mm too short to fill the parent div to the bottom.


Can anyone kindly show me what the problem is and how to fix it with CSS?

Add display: block to the <img> element. By default, images are inline-block and align with the baseline of text. An alternative is to set the image to vertical-align: bottom.

1 Like

Thank you !

1 Like