I have a colored text container, which may contain short or long text.
Now it's with short text:
And this is filled with long text:
Now, I want when there is a short text, the text will be resized to fill the container, like this image, like a post on fb.
How can I do with CSS and/or JS?