alex88
alex88

Reputation: 4918

Make text resize on window resize without going to newline

I've this bootstrap top bar

http://jsfiddle.net/MmcEj/

and I want to make the text contained in

<ul class="nav image-title-container">
    <li class="hidden-desktop image-title icon">somelongtitlesomelongtitlesomelongtitlesomelongtitlesomelongtitle</li>
</ul>

be as large as possible until it reaches the rigth button and wrap when you resize the window without having to use the % width since most of the time it doesn't use the whole available space nor having the text going into a new line.

Upvotes: 0

Views: 184

Answers (2)

Jonas Grumann
Jonas Grumann

Reputation: 10786

I think the easiest way would be to use FitText

Upvotes: 0

Related Questions