@N4J13
Posted
You should add position: relative
to the class image-container to apply overlay only to the image container. You added position: relative
to the main-card and not image-container thats why the overlay covering entire card. Apart from that your design looks very good. Hope thats helps
.
.
.
.
.
.
Marked as helpful
@JaeZzZ
Posted
@N4J13 It turns out that I spelled image-container as img-container in my css so it was referring back to the position: relative on the main-card. I would not have caught that misspelling or gotten rid of the position: relative on the main-card without your help, so thank you so much Najib!! :)