在引導程序中沒有特別添加邊框的內容。對於它的價值,我爲我的應用程序創建了邊界助手。 CSS的是,像這樣:
/* generic border helpers */
.border-b,.border-t,.border-l,.border-r,.border-tb,.border-lr,.border-all{border-style:solid;border-color:#dddddd; border-width:0;}
.border-t,.border-tb,.border-all{border-top-width:1px;}
.border-b,.border-tb,.border-all{border-bottom-width:1px;}
.border-l,.border-lr,.border-all{border-left-width:1px;}
.border-r,.border-lr,.border-all{border-right-width:1px;}
- .border-B =邊界底側
- .border叔=邊界頂側
- .border -1- =邊界左側
- .border -r =邊界右側
- .border-TB =邊界頂側和底側
- .border-LR =邊界左右兩側
- .border-所有=邊界各方
HTH,
-Ted
來源
2015-02-10 19:13:56
Ted
據我所知,僅在Bootstrap中沒有特定的外部類,你現在的解決方案是我會推薦使用的。 – 2015-02-10 18:51:29