此后的确切时间是THIS。
提供的解决方案是
我真的不在乎使用哪种CSS技术。弹性,表格,网格。只要它具有一般性和动态性。
这里是一个操场==> jsfiddle <==我已经准备好了。
<h3>
3. with window resize (resize the windows width )
</h3>
looks like
<div class="IwillForceAgivenWidth" style="width: 100%">
<div class="parent">
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
<button class="child">some text here longer Text</button>
</div>
</div>