I have a div with a fixed size. Is it possible for the font size to adjust automatically to fit the div size? For example, if the text is too long (overflow) the font size will become smaller and vice versa.
<div
style="background-color:aqua; overflow:hidden; width:10rem; height:3.5rem; font-size:4rem;"
>
Hello World
</div>