I have responsive boxes (divs
) containing dynamic texts.
The texts are normally short enough to fit in the boxes but sometimes some of them are larger and don't fit.
I'm trying to resolve this issue truncating the texts with text-overflow: ellipsis
but this is not ideal because info is lost.
Media queries break points don't help either because they affect the whole page and not only the boxes with long texts.
How would you make a non-fitting text responsive so its size is reduced automatically to fit in its holder box?