http://codepen.io/anon/pen/oXGMQZ
I want to make each span in my parent div text size automagically so it fills the parent div's width.
<div class="box">
<span class="fit">what</span>
<span class="fit">an</span>
<span class="fit">idea!</span>
</div>
.box{
width: 50%;
background: beige;
text-align: center;
}
.fit{
display: block;
}
The resulting text on each line would have a unique font-size because each has a different line length.