You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment,if we add more content inside .card-img-overlay class,the overlay will be broken.
Because here the image has relative height so it would take image height.it would be nice if we give the height of the card as i mentioned in the codepen, and also give a minimum height that of image height so that we can't lose the image into smaller one.
I will add a CodePen link with fixing the issue.I think it won't might affect other elements.
Here's the link : https://codepen.io/munsheerek/pen/aaLgWy
Why can you try out this method ?
The text was updated successfully, but these errors were encountered:
You are right, the overflow on image overlay is something is a known limitation of the overlay. Your solution is really interesting and it does solve it at the price of cropping the image.
Its a suggestion to fix the content overflowing inside the card having image overlay (https://getbootstrap.com/docs/4.1/components/card/#image-overlays).
.card-img-overlay
class,the overlay will be broken.Because here the image has relative height so it would take image height.it would be nice if we give the height of the card as i mentioned in the codepen, and also give a minimum height that of image height so that we can't lose the image into smaller one.
I will add a CodePen link with fixing the issue.I think it won't might affect other elements.
Here's the link : https://codepen.io/munsheerek/pen/aaLgWy
Why can you try out this method ?
The text was updated successfully, but these errors were encountered: