div 能像 td 自适应宽度不
<tr>
<th>备份文件</th>
<th>备份时间</th>
<th>大小</th>
<th width="10%">操作</th>
</tr>
其他3个th 会自动宽度
<div class="data-header">
<div class="column">备份文件</div>
<div class="column">备份时间</div>
<div class="column">大小</div>
<div class="column">操作</div>
</div>
怎么让 column 自动宽度 不要用 flex
八意Yo琳
11 years, 10 months ago
Answers
Bootstrap grid system
<div class="row">
<div class="col-md-1">.col-md-1</div>
<div class="col-md-1">.col-md-1</div>
<div class="col-md-1">.col-md-1</div>
<div class="col-md-1">.col-md-1</div>
<div class="col-md-1">.col-md-1</div>
<div class="col-md-1">.col-md-1</div>
<div class="col-md-1">.col-md-1</div>
<div class="col-md-1">.col-md-1</div>
<div class="col-md-1">.col-md-1</div>
<div class="col-md-1">.col-md-1</div>
<div class="col-md-1">.col-md-1</div>
<div class="col-md-1">.col-md-1</div>
</div>
<div class="row">
<div class="col-md-8">.col-md-8</div>
<div class="col-md-4">.col-md-4</div>
</div>
<div class="row">
<div class="col-md-4">.col-md-4</div>
<div class="col-md-4">.col-md-4</div>
<div class="col-md-4">.col-md-4</div>
</div>
<div class="row">
<div class="col-md-6">.col-md-6</div>
<div class="col-md-6">.col-md-6</div>
</div>
max3000
answered 11 years, 10 months ago