當前位置:編程學習大全網 - 網站源碼 - bootstrap 設置table - td寬度問題

bootstrap 設置table - td寬度問題

1.//對於 Bootstrap 3.0

For Bootstrap 3.0:

// class="col-md-*"? 其中的*表示列的寬度

With twitter bootstrap 3 use:?class="col-md-*"?where * is a number of columns of width.

2.//對於 Bootstrap 2.0

For Bootstrap 2.0:

// class = "span*" 其中的*表示列的寬度

With twitter bootstrap 2 use: class="span*" where * is a number of columns of width.

3.// 如果有<th> 元素,在 th 上設置同樣有效。

** If you have <th> elements set the width there and not on the <td> elements.

Bootstrap,來自 Twitter,是目前很受歡迎的前端框架。

Bootstrap 是基於 HTML、CSS、JavaScript 的,它簡潔靈活,使得 Web 開發更加快捷。 它由Twitter的設計師Mark Otto和Jacob Thornton合作開發,是壹個CSS/HTML框架。

Bootstrap提供了優雅的HTML和CSS規範,它即是由動態CSS語言Less寫成。

Bootstrap壹經推出後頗受歡迎,壹直是GitHub上的熱門開源項目,包括NASA的MSNBC(微軟全國廣播公司)的Breaking News都使用了該項目。?

國內壹些移動開發者較為熟悉的框架,如WeX5前端開源框架等,也是基於Bootstrap源碼進行性能優化而來。

  • 上一篇:微信群眾籌收款怎麽弄
  • 下一篇:delphi 給數字按從大到小排序
  • copyright 2024編程學習大全網