i have been trying to increase the height of a div as the width decreases. This allows for all the text to fit in better and not flow out. Is it possible to achieve this without js?
width: 100%;
height: 29vw;
Vw decreases the height as the width decreases.(i need the exact opposite behaviour. Width goes down-height goes up) I have tried using a negative vw to reverse the effect with no luck.
Thank you!