@akash-singh95
Posted
Hi Michael. Your design looks great, sizing and margins all look so refreshing. As for the overflow, try defining your images as display: block; that should resolve it.It's a common issue with images (or any inline elements)
Marked as helpful
@prantiknoor
Posted
@akash-singh95 Something new I learned. Thank you. I could solve this problem by using display: grid/flex;
on .img-container
. But I didn't know why it was happening.