samedi 18 avril 2015

How can I make this image fill the height, and not overflow?

I've been pulling my hair out for days trying to solve this problem. I want to make this image size according to the height of it's container, and not overflow, but it seems like I can't accomplish such. I've read that it has to do with the way I'm setting the height of the container, but all the attempts I've made at solving it simply do not work, either due to my incompetence or some other error I'm making. I could really use some help here.


http://ift.tt/1H02juo


The image in question is the one in the topmost portion of the website. I'm trying to make it fill the height of hero-image-wrap/hero-wrap without overflowing the parent or making it too large/ignoring the 50px padding on the bottom of the parent.


Aucun commentaire:

Enregistrer un commentaire