I have a defined style for div with fixed width and the text inside the div could have different lengths, like in this example. Is there any method using CSS and/or JS to adjust the text size in such a way that it will stay in bounds of the container?
I have a defined style for div with fixed width and the text inside
Share
this may work for you, try this