Let's say I have a div
with some small text in it.
The intention is that this text should fit into "only" one line. When the container width is big, the text should be justified and when the container width is small, the text should still be in one line and the font size should decrease to preserve being in one line. (Not hiding its over-flow)
I tried text-align: justify;
but it doesn't work. since it does not justify the last line. (which in this case, the last line is actually the only line we have.)
Any help one this one is appreciated. Thanks in advance.