Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
.table .table-striped .table-bordered 当我尝试更改第二列的宽度时,我现在有一个带类的表,它不会调整大小。我试过 width: 50% 和内联样式仍然没有运气。
.table .table-striped .table-bordered
像这样在你的 CSS 中覆盖它:
.table tr td:nth-child(2) {width:50%;}
参见示例:http ://bootply.com/60325