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
vince6mo ago
Does the img have display: block on it?
Vandana
VandanaOP6mo ago
No
vince
vince6mo ago
Did adding it work?
Vandana
VandanaOP6mo ago
No didnt work.
vince
vince6mo ago
Can you put this in a codepen please and send it over?
Vandana
VandanaOP6mo 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
VandanaOP6mo ago
codepen isnt posssible kindly go through this img-8,screen-size:<1220px you can find that small glitch
vince
vince6mo 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
VandanaOP6mo 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
vince6mo ago
Ty! But I don't see the small gap; it looks good on Firefox and Chrome
vince
vince6mo ago
No description
vince
vince6mo ago
Even on mobile it looks good
Vandana
VandanaOP6mo ago
No description
Want results from more Discord servers?
Add your server