Currently in the process of building a website using HTML/CSS/JS and have run into an issue. My front page features an image with text overlay, where the image has 100% width and a fixed height of 487px. I positioned the text using position:relative;
and top:34vh
.
Everything looks great on a normal desktop screen, but when trying to make it responsive, the text shrinks as intended with the width, causing its position to change. What I really want is for the text to stay fixed at the bottom of the image.
I'll provide you with an example of how it currently appears and how I would like it to appear.
Appreciate your help!