为什么在此Bootstrap 3表格中不能使用边框?(Why isn't the border working in this Bootstrap 3 table?)
使用基础Bootstrap 3 CSS似乎可以正常工作,但对于超级英雄Bootswatch主题,似乎边框并不想出现。 任何想法为什么?
http://jsfiddle.net/VxR7z/
<table class="table table-bordered"> ... </table>应该处理所有主题。
With the base Bootstrap 3 CSS it seems to work fine, but with the Superhero Bootswatch theme it seems that border just doesn't want to appear. Any idea why?
http://jsfiddle.net/VxR7z/
<table class="table table-bordered"> ... </table>Should work on all themes.
最满意答案
只需在边界处添加您想要的颜色代码即可
.table-bordered th,.table-bordered td {border:1px solid #ddd!important}
谢谢
Just add this code with your desired color at border
.table-bordered th, .table-bordered td { border: 1px solid #ddd!important }
Thanks
更多推荐
发布评论