1. 程式人生 > >bootstrap類名及作用(部分)

bootstrap類名及作用(部分)

ear container hid 其他 隱藏 效果 left 固定 右移

.visible-**-block 元素在**設備上以塊級元素顯示;
.visible-**-inline 元素在**設備上以行元素顯示;
.visible-**-inline-block 元素在**設備上以行內塊元素顯示;
.hidden-** 在**設備上隱藏;(在其他設備上顯示)
.container 為網格創建一個容器(固定寬度);
.container-fluid 為網格創建一個容器(100%寬度);
.row 表示一個新行;
.col-**-number 定義列;
.col-**-offset-number 列向右移動的列數 在列的旁邊添加空白;
.col-**-pull-number 列向左移動的列數;
.col-**-push-number 列向右移動的列數;
.clearfix 清楚浮動;
.well 給元素設置塌陷效果;
.close 關閉按鈕 <button classL:‘close‘ type:‘button‘>&times</button>;
.pull-left 左浮動;
.pull-right 右浮動;
.center-block 塊級居中;

bootstrap類名及作用(部分)