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?
13 Replies
Does the
img
have display: block
on it?No
Did adding it work?
No didnt work.
Can you put this in a codepen please and send it over?
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
codepen isnt posssible kindly go through this
img-8,screen-size:<1220px you can find that small glitch
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)
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
Ty! But I don't see the small gap; it looks good on Firefox and Chrome
Even on mobile it looks good