small space left at the bottom for the img

If i set the height of the img to 100% the size becomes too big. any other approach?
No description
13 Replies
vince
vince4w ago
Does the img have display: block on it?
Vandana
Vandana4w ago
No
vince
vince4w ago
Did adding it work?
Vandana
Vandana4w ago
No didnt work.
vince
vince4w ago
Can you put this in a codepen please and send it over?
Vandana
Vandana4w ago
GitHub
GitHub - kvandana451/Assorted-Cards-images: A card layout with vari...
A card layout with various sizes, containing images and/or text. - kvandana451/Assorted-Cards-images
Vandana
Vandana4w ago
codepen isnt posssible kindly go through this img-8,screen-size:<1220px you can find that small glitch
vince
vince4w ago
Sorry, but I'm not going to scan through your code. Best way is to make a minimal reproduceable example in codepen that showcases your issue (and you might even figure it out by reducing the complexity)
Vandana
Vandana4w ago
Since there is no folder structure to load images i insist you to go through line 76 to 86 https://codepen.io/kvandana451/pen/BaewvgL check for small screen size there you can reproduce the issue
vince
vince4w ago
Ty! But I don't see the small gap; it looks good on Firefox and Chrome
vince
vince4w ago
No description
vince
vince4w ago
Even on mobile it looks good
Vandana
Vandana4w ago
No description