1 min readAug 8, 2017
Hey Nate Eaves!
Thanks 😀
What type of effect are you going for? I believe there has to be a height
set somewhere otherwise it’ll collapse as you say. That is the one thing with <img>
. You could make the container responsive potentially by using viewport units? But then you’re best option would be likely to make use of background-size
, background-position
etc. on div
element.
Happy to try and help you out with the effect you’re trying to achieve!