我有一个容器宽度一些按钮在它:填充母宽度同样
<div class="button-container">
<button type="button" class="edit-quantity">Edit Quantity</button>
<button type="button" class="edit-price">Edit Price</button>
<button type="button" class="remove-item">Remove</button>
<button type="button" class="remove-all">Remove All</button>
</div>
我如何样式的按钮和容器的方式,按钮填充容器宽度相等,即使只有1或2或3个按钮?
一个CSS3唯一的解决方案是可以接受的吗?你需要支持哪种浏览器? – fcalderan
@Rraham Yup,这是我要回答的解决方案,但看起来像被覆盖。 –