Bootstrap (版本 v3.3.7)     官网教程: https://v3.bootcss.com/css/

row——行      row——列

push——推       pull——拉

col-md-offset-3  在左边偏移3格

col-md-push-5   向右推5格

col-md-pull-2     向左拉2格

结构
<div class="container">
<div class="row">
 <div class="col-md-4">col-md-4</div>
  <div class="col-md-4">col-md-4</div>
<div class="col-md-4">col-md-4</div>
</div>
</div>
<body class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th>编号</th>
<th>姓名</th>
<th>性别</th>
<th>年龄</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>王小二</td>
<td>男</td>
<td>21</td>
</tr>
<tr class="info">
<td>2</td>
<td>张溜溜</td>
<td>女</td>
<td>23</td>
</tr>
<tr>
<td>3</td>
<td>程陈晨</td>
<td>男</td>
<td>25</td>
</tr>
<tr class="success">
<td>4</td>
<td>李云龙</td>
<td>男</td>
<td>53</td>
</tr>
</tbody>
</table>
</body>
{

position:absolute;

background-position: center center;

background-size:cover;

}

jQuery文件。务必在bootstrap.min.js 之前引入(因为是基于jquery)

站点图标             <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />

快速生成图片      https://www.dummyimage.com/

bootstrap 实现两种方法:1)通过 js 实现        2)通过css3 媒体查询实现

图片:<img src="..." class="img-responsive"/>   图片响应式

用到栅格,应在父元素清除浮动(clearfix)

container 和 container-fluid 的区别

.container类用于固定宽度并支持响应式布局

.container-fluid类用于100%宽度,占据全部视口

 
https://www.cnblogs.com/zhangbao/p/6593121.html
一个典型导航条的结构如下:
nav .navbar.navbar-default
.container
.nav-header
a.nav-brand
<div class="form-group">
<label class="sr-only">用户名:</label>
<input type="text" class="form-control" name="name" placeholder="输入用户名" />
</div> <div class="checkbox">
  <label><input type="checkbox" />记住密码</label>
</div>

bootstrap简单使用的更多相关文章

  1. 基于Bootstrap简单实用的tags标签插件

    http://www.htmleaf.com/jQuery/ jQuery之家 自由分享jQuery.html5和css3的插件库 基于Bootstrap简单实用的tags标签插件

  2. Bootstrap简单入门

    Bootstrap简单入门 BootStrap基本模板 <!DOCTYPE html> <html> <head> <meta charset="U ...

  3. Bootstrap简单Demo(2015年05月-18日)

    Bootstrap的简单使用 1.Bootstrap是什么? 这是Bootstrap官网上对它的描述:Bootstrap是最受欢迎的HTML.CSS和JS框架,用于开发响应式布局.移动设备优先的WEB ...

  4. bootstrap简单图文环绕效果

    一.      下载bootstrap-3.3.7 二.      在html页面引入css,js; eg: <link src="bootstrap-3.3.7-dist/css/b ...

  5. Bootstrap简单HelloWorld入门教程

    这篇教程旨在让你在20分钟内学会使用twitter bootstrap创建一个站点.看完这个教程后你应该能够使用bootstrap来建立一个基本的响应式布局的页面,了解栅格系统,并且能够使用boots ...

  6. mvc area区域和异步表单,bootstrap简单实例

    码农最怕眼高手低 今天来练习mvc Area技术和bootstrap以及异步表单的C#代码实现. 1.area区域架构对于建立复杂业务逻辑很有帮助,由  AreaRegistration.Regist ...

  7. 【Bootstrap简单用法】

    一.下载及使用 参考网站:http://www.bootcss.com/ 1.使用 BootCDN 提供的免费 CDN 加速服务(同时支持 http 和 https 协议) <!-- 最新版本的 ...

  8. bootstrap 简单练习(后续把其它页面也进行练习)

    <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <m ...

  9. bootstrap简单使用实例

    表格实例,包含bootstrap.css 和 2.1.1jquery <!DOCTYPE html> <html> <head> <meta charset= ...

随机推荐

  1. HBase数据库相关基本知识

    HBase数据库相关知识 1. HBase相关概念模型 l  表(table),与关系型数据库一样就是有行和列的表 l  行(row),在表里数据按行存储.行由行键(rowkey)唯一标识,没有数据类 ...

  2. February 24th, 2018 Week 8th Saturday

    Those are my principles, and if you don't like them... well, I have others. 那是我的原则,要是你不喜欢......那我还有其 ...

  3. 《Java大学教程》—第8章 通过继承扩展类

    8.2    继承(inheritance):继承是指在类之间共享属性和方法.继承关系是一种层次关系.在继承关系中位于顶部的类称为超类(或基类),位于下面的类称为子类(或派生类).类型转换(type ...

  4. 【大数据技术】Hadoop三大组件架构原理(HDFS-YARN-MapReduce)

    目前,Hadoop还只是数据仓库产品的一个补充,和数据仓库一起构建混搭架构为上层应用联合提供服务. Hadoop集群具体来说包含两个集群:HDFS集群和YARN集群,两者逻辑上分离,但物理上常在一起. ...

  5. C#事件の事件聚合器

    事件聚合器用于集中管理事件的订阅(Subscribe)和处理(Handle),要使用事件聚合器,首先要理解:事件(event)本质上是一个类. 传统的+=和-=不足: 1.管理很麻烦:2.不方便扩展. ...

  6. C#编程の模板

    C#泛型编程已经深入人心了.为什么又提出C#模板编程呢?因为C#泛型存在一些局限性,突破这些局限性,需要使用C#方式的模板编程.由于C#语法.编译器.IDE限制,C#模板编程没有C++模板编程使用方便 ...

  7. CMD命令行netsh添加防火墙规则

    1.为e:\f.exe 添加防火墙规则(参考:https://www.cnblogs.com/zhen656/p/4275270.html),需要管理员权限. >netsh advfirewal ...

  8. redis配置环境变量

    直接上图不解释 redis安装路径,我的电脑右击属性 窗口+R键,输入cmd回车,输入redis-server.exe 回车 再开一个命令窗口,窗口+R键,输入cmd回车,输入  redis-cli. ...

  9. 【js】使用javascript 实现静态网页分页效果

    <!DOCTYPE html> <html> <head> <meta http-equiv="content-Type" content ...

  10. 洛谷题解 P1031 【均分纸牌】

    这道题很简单 原理是从左到右一个一个排,把差值m加起来加到后面一堆牌里 具体ac代码如下: #include<cstdio> #include<iostream> #inclu ...