For Infos and an older browser, text-align:justify + a pseudo-element to generate an extra line can be useful. For a really old browser (IE5), turn the pseudo into a tag (span), the technique will be calm old, but still effective, where flex not available.
div { background:#C3DEB7; padding:1px; } p { background:#A0C5E8; margin:1em auto; width:80%; text-align:justify; } p:after { content:''; width:100%; } span, p:after { display:inline-block; } span { border-radius: 15px; background:#7A9FC1; line-height:60px; width:60px; margin-top:1em; text-align:center; color:white; box-shadow:inset 0 0 0 1px ; } span:nth-child(1) { background:#709AC2; } span:nth-child(3) { background:#6D93B7; } span:last-child { background:#948798; }
<div> <p> <span> span</span> <span> span</span> <span> span</span> <span> span</span> </p> </div>
http://codepen.io/anon/pen/NNbXEm
G-cyr source share