记录一下,老项目会用到。很多前端需要手写。
CSS:
.tableScroll{ // 滚动部分 -webkit-overflow-scrolling: touch; overflow-x: scroll; white-space: nowrap; }
HTML:
<div class="row tableScroll"> <table cellspacing="0" cellpadding="0" class="table table-bordered table-hover" >
</table>