Problem: I want to set a div container to a max-width
of 500px, but if the font-size: 5vw;
inside of the div is set to 5vw, the text keeps getting bigger even after the div reaches its max size.
So basically I want to make text inside an image scale with the size of that image, but stop growing when the div texts' container stops growing.
Main Question: Is there a way for me to have font-size: 5vw
scale with the size of its container div, and not the whole viewport?