2 回答

TA貢獻(xiàn)1799條經(jīng)驗(yàn) 獲得超9個(gè)贊
1.//對(duì)于 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.//對(duì)于 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 上設(shè)置同樣有效。
** If you have <th> elements set the width there and not on the <td> elements.
Bootstrap,來自 Twitter,是目前很受歡迎的前端框架。
Bootstrap 是基于 HTML、CSS、JavaScript 的,它簡(jiǎn)潔靈活,使得 Web 開發(fā)更加快捷。 它由Twitter的設(shè)計(jì)師Mark Otto和Jacob Thornton合作開發(fā),是一個(gè)CSS/HTML框架。
Bootstrap提供了優(yōu)雅的HTML和CSS規(guī)范,它即是由動(dòng)態(tài)CSS語(yǔ)言Less寫成。
Bootstrap一經(jīng)推出后頗受歡迎,一直是GitHub上的熱門開源項(xiàng)目,包括NASA的MSNBC(微軟全國(guó)廣播公司)的Breaking News都使用了該項(xiàng)目。
國(guó)內(nèi)一些移動(dòng)開發(fā)者較為熟悉的框架,如WeX5前端開源框架等,也是基于Bootstrap源碼進(jìn)行性能優(yōu)化而來。
- 2 回答
- 0 關(guān)注
- 3657 瀏覽
添加回答
舉報(bào)