Melad• 110
@meladcodes
Posted
Hi, you can try giving the image a max-width and max-height of 100% which helps it take all the space inside its container. Hope It helps.
0
Looking to hire developers?
Submitted
@Jeth0214
What is the perfect solution to fit an image into its div?
@meladcodes
Posted
Hi, you can try giving the image a max-width and max-height of 100% which helps it take all the space inside its container. Hope It helps.
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord