我確定已經有一百萬個這樣的問題,但我無法讓網格佈局中的列正常工作。我目前正在嘗試使用Bootstrap 3.3.5重新創建this website,但由於某些原因,我的列沒有顯示出來。我很確定他們嵌套正確 - 顯然有我失蹤的東西!Bootstrap 3 col-m-n not functional
這裏是我的工作代碼:
http://jsbin.com/kipaha/edit?html,output
我確定已經有一百萬個這樣的問題,但我無法讓網格佈局中的列正常工作。我目前正在嘗試使用Bootstrap 3.3.5重新創建this website,但由於某些原因,我的列沒有顯示出來。我很確定他們嵌套正確 - 顯然有我失蹤的東西!Bootstrap 3 col-m-n not functional
這裏是我的工作代碼:
http://jsbin.com/kipaha/edit?html,output
你使用這個類:
<div class="col-m-6">
該類不存在。 Twitter bootstrap provides 4 classes with these prefixes:
col-xs-N
col-sm-N
col-md-N
col-lg-N
凡N
是列從1
到12
寬度。
所以,你應該這樣做:
<div class="col-md-6">
哈哈,我覺得這是一個布偶。 – breadbutt
您已經添加了'bootstrap.js'? – LcSalazar