我正在使用 div 生成表格显示:
<div class="table-wrapper">
<div class="table-row">
<div class="table-cell">
Id
</div>
<div class="table-cell">
Name
</div>
<div class="table-cell">
Age
</div>
</div>
<div class="table-row">
<div class="table-cell">
1
</div>
<div class="table-cell">
Joe
</div>
<div class="table-cell">
25
</div>
</div>
<div class="table-row">
<div class="table-cell">
2
</div>
<div class="table-cell">
Robbin
</div>
<div class="table-cell">
33
</div>
</div>
<div class="table-row" id="row">
<div class="table-cell">
3
</div>
<div class="table-cell">
Mark
</div>
<div class="table-cell">
62
</div>
</div>
</div>
我想让我的表格行有滑动效果,但它不起作用。这个jsFiddle更好地描述了我的问题。