Table of Contents
按钮
a,input,button都可以设置为按钮
 
预置样式
按钮大小
块级按钮-btn-block
禁用状态 class="disabled"
激活状态 class="active"
图片
响应式图片-img-responsive
图片的三种形状
表格
基本表格 .table
斑马线表格 .table .table-striped
带边框表格 .table .table-bordered
鼠标悬停表格 .table .table-hover
紧凑表格 .table .table-condensed
响应式表格 .table .table-responsive
状态类
表单
基本表单-.from-control 和.from-group搭配
内联表单-.from-inline
移动端注意(隐藏label)
input的内联组合
水平排列表单(用栅格系统)
单选框和复选框的内联形式
静态控件 .form-control-static
标题
h6标题样式
标题也可用class="h1"设置
副标题-(或class="small")
页面内容
p标签
突出段落-class="lead"
内联文本元素
标记-
删除线-
下划线-
小号文本-
强调-
斜体-
对齐
改变大小写
缩略语 标签
引用
基本引用
引用来源
居右的引用,添加类.blockquote-reverse
列表
无样式列表.list-unstyled
内联列表-同一行显示.list-inline
普通描述
水平排列描述.dl-horizontal
代码
内联代码 code
用户输入 kbd
代码块 pre
变量 var
程序输出 samp
Home Web Front-end HTML Tutorial Bootstrap3 CSS样式基本用法总结_html/css_WEB-ITnose

Bootstrap3 CSS样式基本用法总结_html/css_WEB-ITnose

Jun 24, 2016 am 11:26 AM

出于学习需要,自觉得把基本的bootstrap用法自己敲一遍,对每个用法有个较清晰的印象,所以做了本篇总结,这也是一个巩固的学习过程。

可点击左边的目录,方便速查。

按钮

a,input,button都可以设置为按钮

a标签按钮 button标签按钮

        <a class="btn btn-default" href="#" role="button">a标签按钮</a>        <input type="button" class="btn btn-default" value="input的button标签按钮" />        <input type="submit" class="btn btn-default" value="input的submit标签按钮" />        <button class="btn btn-default">button标签按钮</button>   
Copy after login

预置样式

default样式 primary样式 success样式 info样式 warning样式 danger样式 link样式

        <button class="btn btn-default">default样式</button>        <button class="btn btn-primary">primary样式</button>        <button class="btn btn-success">success样式</button>        <button class="btn btn-info">info样式</button>        <button class="btn btn-warning">warning样式</button>        <button class="btn btn-danger">danger样式</button>        <button class="btn btn-link">link样式</button>
Copy after login

按钮大小

大按钮btn-lg 默认按钮 小按钮btn-sm 超小按钮btn-xs

        <button class="btn btn-info btn-lg">大按钮btn-lg</button>        <button class="btn btn-info">默认按钮</button>        <button class="btn btn-info btn-sm">小按钮btn-sm</button>        <button class="btn btn-info btn-xs">超小按钮btn-xs</button>
Copy after login

块级按钮-btn-block

块级按钮,与父元素等宽 块级按钮,与父元素等宽

        <button class="btn btn-success btn-block">块级按钮,与父元素等宽</button>        <button class="btn btn-warning btn-lg btn-block">块级按钮,与父元素等宽</button>
Copy after login

禁用状态 class="disabled"

被禁用的按钮

        <button class="btn btn-success disabled">被禁用的按钮</button>
Copy after login

激活状态 class="active"

激活状态的按钮

        <button class="btn btn-success active">激活状态的按钮</button>
Copy after login

图片

响应式图片-img-responsive

        <img  class="img-responsive lazy"  src="/static/imghw/default1.png"  data-src="http://images.cnblogs.com/cnblogs_com/hlwyfeng/783931/o_%e8%83%8c%e6%99%af%e5%9b%be1.png"  / alt="Bootstrap3 CSS样式基本用法总结_html/css_WEB-ITnose" >
Copy after login

图片的三种形状

        <img  class="img-rounded lazy"  src="/static/imghw/default1.png"  data-src="http://images.cnblogs.com/cnblogs_com/hlwyfeng/601951/o_img05.jpg"  / alt="Bootstrap3 CSS样式基本用法总结_html/css_WEB-ITnose" >        <img  class="img-thumbnail lazy"  src="/static/imghw/default1.png"  data-src="http://images.cnblogs.com/cnblogs_com/hlwyfeng/601951/o_img05.jpg"  / alt="Bootstrap3 CSS样式基本用法总结_html/css_WEB-ITnose" >        <img  class="img-circle lazy"  src="/static/imghw/default1.png"  data-src="http://images.cnblogs.com/cnblogs_com/hlwyfeng/601951/o_img05.jpg"  / alt="Bootstrap3 CSS样式基本用法总结_html/css_WEB-ITnose" >      
Copy after login

表格

基本表格 .table

表格标题 表格标题 表格标题
表格单元 表格单元 表格单元
表格单元 表格单元 表格单元
表格单元 表格单元 表格单元

        <table class="table">          <thead>            <tr>              <th>表格标题</th>              <th>表格标题</th>              <th>表格标题</th>            </tr>          </thead>          <tbody>            <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>             <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>             <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>          </tbody>        </table>
Copy after login

斑马线表格 .table .table-striped

表格标题 表格标题 表格标题
表格单元 表格单元 表格单元
表格单元 表格单元 表格单元
表格单元 表格单元 表格单元

        <table class="table table-striped">          <thead>            <tr>              <th>表格标题</th>              <th>表格标题</th>              <th>表格标题</th>            </tr>          </thead>          <tbody>            <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>             <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>             <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>          </tbody>        </table>
Copy after login

带边框表格 .table .table-bordered

表格标题 表格标题 表格标题
表格单元 表格单元 表格单元
表格单元 表格单元 表格单元
表格单元 表格单元 表格单元

        <table class="table table-bordered">          <thead>            <tr>              <th>表格标题</th>              <th>表格标题</th>              <th>表格标题</th>            </tr>          </thead>          <tbody>            <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>             <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>             <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>          </tbody>        </table>
Copy after login

鼠标悬停表格 .table .table-hover

表格标题 表格标题 表格标题
表格单元 表格单元 表格单元
表格单元 表格单元 表格单元
表格单元 表格单元 表格单元

        <table class="table table-hover">          <thead>            <tr>              <th>表格标题</th>              <th>表格标题</th>              <th>表格标题</th>            </tr>          </thead>          <tbody>            <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>             <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>             <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>          </tbody>        </table>
Copy after login

紧凑表格 .table .table-condensed

表格标题 表格标题 表格标题
表格单元 表格单元 表格单元
表格单元 表格单元 表格单元
表格单元 表格单元 表格单元

        <table class="table table-condensed">          <thead>            <tr>              <th>表格标题</th>              <th>表格标题</th>              <th>表格标题</th>            </tr>          </thead>          <tbody>            <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>             <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>             <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>          </tbody>        </table>
Copy after login

响应式表格 .table .table-responsive

表格标题 表格标题 表格标题
表格单元 表格单元 表格单元
表格单元 表格单元 表格单元
表格单元 表格单元 表格单元

      <div class="myborder">        <table class="table table-responsive">          <thead>            <tr>              <th>表格标题</th>              <th>表格标题</th>              <th>表格标题</th>            </tr>          </thead>          <tbody>            <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>             <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>             <tr>              <td>表格单元</td>              <td>表格单元</td>              <td>表格单元</td>            </tr>          </tbody>        </table>
Copy after login

状态类

表格标题 表格标题 表格标题
状态active 状态active 状态active
状态success 状态success 状态success
状态info 状态info 状态info
状态warning 状态warning 状态warning
状态danger 状态danger 状态danger

        <table class="table">          <thead>            <tr>              <th>表格标题</th>              <th>表格标题</th>              <th>表格标题</th>            </tr>          </thead>          <tbody>            <tr class="active">              <td>状态active</td>              <td>状态active</td>              <td>状态active</td>            </tr>             <tr class="success">              <td>状态success</td>              <td>状态success</td>              <td>状态success</td>            </tr>             <tr class="info">              <td>状态info</td>              <td>状态info</td>              <td>状态info</td>            </tr>            <tr class="warning">              <td>状态warning</td>              <td>状态warning</td>              <td>状态warning</td>            </tr>            <tr class="danger">              <td>状态danger</td>              <td>状态danger</td>              <td>状态danger</td>            </tr>          </tbody>        </table>
Copy after login

表单

基本表单-.from-control 和.from-group搭配

用户名

密码

记住密码

确定

        <form>            <div class="form-group">              <label for="userName">用户名</label>              <input type="text" class="form-control" name="userName" placeholder="请输入用户名"/>            </div>            <div class="form-group">              <label for="password">密码</label>              <input type="password" class="form-control" name="password" placeholder="请输入密码"/>            </div>            <div class="checkbox">              <label>                <input type="checkbox">记住密码</input>              </label>            </div>            <button type="submit" class="btn btn-info">确定</button>          </div>        </form>
Copy after login

内联表单-.from-inline

用户名

密码

记住密码

确定

       <form class="form-inline">            <div class="form-group">              <label for="userName">用户名</label>              <input type="text" class="form-control" name="userName" placeholder="请输入用户名"/>            </div>            <div class="form-group">              <label for="password">密码</label>              <input type="password" class="form-control" name="password" placeholder="请输入密码"/>            </div>            <div class="checkbox">              <label>                <input type="checkbox">记住密码</input>              </label>            </div>            <button type="submit" class="btn btn-info">确定</button>          </div>        </form>
Copy after login

移动端注意(隐藏label)

用户名

密码

记住密码

确定

       <form class="form-inline">            <div class="form-group">              <label class="sr-only" for="userName">用户名</label>              <input type="text" class="form-control" name="userName" placeholder="请输入用户名"/>            </div>            <div class="form-group">              <label class="sr-only" for="password">密码</label>              <input type="password" class="form-control" name="password" placeholder="请输入密码"/>            </div>            <div class="checkbox">              <label>                <input type="checkbox">记住密码</input>              </label>            </div>            <button type="submit" class="btn btn-info">确定</button>          </div>      </form>
Copy after login

input的内联组合

前面

后面

提交

        <form class="form-inline">          <div class="form-group">            <div class="input-group">              <div class="input-group-addon">前面</div>                <input class="form-control" type="text" placeholder="输入测试" />              <div class="input-group-addon">后面</div>            </div>            <button type="submit" class="btn btn-default">提交</button>          </div>        </form>
Copy after login

水平排列表单(用栅格系统)

用户名

密码

记住密码

确定

       <form class="form-horizontal">            <div class="form-group">              <label for="userName" class="control-label col-sm-2">用户名</label>              <div class="col-sm-10">                <input type="text" class="form-control" name="userName" placeholder="请输入用户名"/>              </div>            </div>            <div class="form-group">              <label for="password" class="control-label col-sm-2">密码</label>              <div class="col-sm-10">                <input type="password" class="form-control" name="password" placeholder="请输入密码"/>              </div>              </div>            <div class="form-group">              <div class="col-sm-offset-2 col-sm-10">                <div class="checkbox">                  <label>                    <input type="checkbox">记住密码</input>                  </label>                </div>              </div>            </div>            <div class="form-group">              <div class="col-sm-offset-2 col-sm-10">                <button type="submit" class="btn btn-info">确定</button>              </div>            </div>      </form>
Copy after login

单选框和复选框的内联形式

选择1 选择2 选择3

选择1 选择2 选择3

          <label class="checkbox-inline">            <input type="checkbox">选择1          </label>          <label class="checkbox-inline">            <input type="checkbox">选择2          </label>          <label class="checkbox-inline">            <input type="checkbox">选择3          </label>          <div class="form-group">            <label class="radio-inline">              <input type="radio" name="myradio">选择1            </label>            <label class="radio-inline">              <input type="radio" name="myradio">选择2            </label>            <label class="radio-inline">              <input type="radio" name="myradio">选择3            </label>          </div>
Copy after login

静态控件 .form-control-static

用户名

Tab Weng

      <form class="form-horizontal">        <div class="form-group">            <label class="col-sm-2 control-label">用户名</label>            <div class="col-sm-10">              <p class="form-control-static">Tab Weng</p>            </div>        </div>      </form>
Copy after login

标题

(提示:由于默认的h1~h7在博客园编辑器中受默认样式的影响,所以无法显示bootstrap的样式,其具体样式与下面的class="h1"等相同)

h1标题样式

h4标题样式

h5标题样式 h6标题样式

      <h1 id="h-标题样式">h1标题样式</h1>      <h4 id="h-标题样式">h4标题样式</h4>      <h5 id="h-标题样式">h5标题样式</h5>      <h6 id="h-标题样式">h6标题样式</h6>
Copy after login

标题也可用class="h1"设置

通过class="h1"来设置样式

通过class="h4"来设置样式

通过class="h5"来设置样式

通过class="h6"来设置样式

        <div class="h1">通过class="h1"来设置样式</div>        <div class="h4">通过class="h4"来设置样式</div>        <div class="h5">通过class="h5"来设置样式</div>        <div class="h6">通过class="h6"来设置样式</div>
Copy after login

副标题-(或class="small")

设置样式h1 这里是副标题

设置样式h4 这里是副标题

设置样式h5 这里是副标题

设置样式h6 这里是副标题

        <div class="h1">设置样式h1<small>这里是副标题</small></div>        <div class="h4">设置样式h4<small>这里是副标题</small></div>        <div class="h5">设置样式h5<small>这里是副标题</small></div>        <div class="h6">设置样式h6<small>这里是副标题</small></div>
Copy after login

页面内容

p标签

Web前端开发工程师,主要职责是利用(X)HTML/CSS/JavaScript/DOM/Flash等各种Web技术进行产品的界面开发。 制作标准优化的代码,并增加交互动态功能,开发JavaScript以及Flash模块,同时结合后台开发技术模拟整体 效果,进行丰富互联网的Web开发,致力于通过技术改善用户体验。

        <p>          Web前端开发工程师,主要职责是利用(X)HTML/CSS/JavaScript/DOM/Flash等各种Web技术进行产品的界面开发。          制作标准优化的代码,并增加交互动态功能,开发JavaScript以及Flash模块,同时结合后台开发技术模拟整体          效果,进行丰富互联网的Web开发,致力于通过技术改善用户体验。        </p>
Copy after login

突出段落-class="lead"

Web前端开发工程师,主要职责是利用(X)HTML/CSS/JavaScript/DOM/Flash等各种Web技术进行产品的界面开发。 制作标准优化的代码,并增加交互动态功能,开发JavaScript以及Flash模块,同时结合后台开发技术模拟整体 效果,进行丰富互联网的Web开发,致力于通过技术改善用户体验。

      <p class="lead">        Web前端开发工程师,主要职责是利用(X)HTML/CSS/JavaScript/DOM/Flash等各种Web技术进行产品的界面开发。        制作标准优化的代码,并增加交互动态功能,开发JavaScript以及Flash模块,同时结合后台开发技术模拟整体        效果,进行丰富互联网的Web开发,致力于通过技术改善用户体验。      </p>
Copy after login

内联文本元素

标记-

使用mark来标记一下

        使用mark来<mark>标记</mark>一下
Copy after login

删除线-

用del标签来删除这段话

用s标签来删除这段话

        <p><del>用del标签来删除这段话</del></p>        <p><s>用s标签来删除这段话</s></p>
Copy after login

下划线-

ins标签表示插入文本

u标签表示加上下划线

        <p><ins>ins标签表示插入文本</ins></p>        <u>u标签表示加上下划线</u>
Copy after login

小号文本-

这是小号文本

        <small>这是小号文本</small>
Copy after login

强调-

这是加强字体,用strong

        <strong>这是加强字体,用strong</strong>
Copy after login

斜体-

这是斜体,用em

        <em>这是斜体,用em</em>
Copy after login

对齐

居左对齐

居中对齐

居右对齐

[两端对齐] 现代项目的开发,需要掌握多种技术。互联网项目,需要用到后端开发、 前端开发、界面设计、产品设计、数据库、各种移动客户端、三屏兼容、restFul API设计 和OAuth等等,比较前卫的项目,还会用到Single Page Application、Web Socket、HTML5/CSS3 这些技术以及像第三方开发像微信公众号微博应用等等。

[没有对齐] 现代项目的开发,需要掌握多种技术。互联网项目,需要用到后端开发、 前端开发、界面设计、产品设计、数据库、各种移动客户端、三屏兼容、restFul API设计 和OAuth等等,比较前卫的项目,还会用到Single Page Application、Web Socket、HTML5/CSS3 这些技术以及像第三方开发像微信公众号微博应用等等。

      <p class="text-left">居左对齐</p>      <p class="text-center">居中对齐</p>      <p class="text-right">居右对齐</p>      <p class="text-justify">        [两端对齐] 现代项目的开发,需要掌握多种技术。互联网项目,需要用到后端开发、        前端开发、界面设计、产品设计、数据库、各种移动客户端、三屏兼容、restFul API设计        和OAuth等等,比较前卫的项目,还会用到Single Page Application、Web Socket、HTML5/CSS3        这些技术以及像第三方开发像微信公众号微博应用等等。      </p>      <p class="text-nowrap">         [没有对齐] 现代项目的开发,需要掌握多种技术。互联网项目,需要用到后端开发、        前端开发、界面设计、产品设计、数据库、各种移动客户端、三屏兼容、restFul API设计        和OAuth等等,比较前卫的项目,还会用到Single Page Application、Web Socket、HTML5/CSS3        这些技术以及像第三方开发像微信公众号微博应用等等。      </p>
Copy after login

改变大小写

LowerCase HahaHa

UpperCase Hahaha

capitalize haHaha

      <p class="text-lowercase">LowerCase HahaHa</p>      <p class="text-uppercase">UpperCase Hahaha</p>      <p class="text-capitalize">capitalize haHaha</p>
Copy after login

缩略语 标签

bootstrap是一个高度集成化的开发框架 此处缩略
bootstrap是一个高度集成化的开发框架 此处缩略

        <p class="lead">          bootstrap是一个高度集成化的开发框架 <abbr title="这里显示了缩略语的内容">此处缩略</abbr><br />          bootstrap是一个高度集成化的开发框架 <abbr class="initialism" title="这里加了类.initialism所以变小了">此处缩略</abbr>        </p>
Copy after login

引用

基本引用

这是html的基本引用标签blockquote,bootstrap为它左边添加了一个灰色带

        <blockquote>          <p>这是html的基本引用标签blockquote,bootstrap为它左边添加了一个灰色带</p>        </blockquote>
Copy after login

这世界并不会在意你的自尊。这世界指望你在自我感觉良好之前先要有所成就。

比尔盖茨

        <blockquote>          <p>这世界并不会在意你的自尊。这世界指望你在自我感觉良好之前先要有所成就。</p>          <footer>比尔盖茨</footer>        </blockquote>
Copy after login

居右的引用,添加类.blockquote-reverse

这世界并不会在意你的自尊。这世界指望你在自我感觉良好之前先要有所成就。

比尔盖茨

        <blockquote class="blockquote-reverse">          <p>这世界并不会在意你的自尊。这世界指望你在自我感觉良好之前先要有所成就。</p>          <footer>比尔盖茨</footer>        </blockquote>
Copy after login

列表

无样式列表.list-unstyled

  • 这里是列表
  • 这里是列表
  • 这里是二级列表
  • 这里是二级列表
  • 这里是二级列表
  • 这里是二级列表
  • 这里是列表
  • 这里是列表
  • 这里是列表
  •         <ul class="list-unstyled">          <li>这里是列表</li>          <li>这里是列表</li>            <ul>              <li>这里是二级列表</li>              <li>这里是二级列表</li>              <li>这里是二级列表</li>              <li>这里是二级列表</li>            </ul>          <li>这里是列表</li>          <li>这里是列表</li>          <li>这里是列表</li>        </ul>
    Copy after login

    内联列表-同一行显示.list-inline

  • 这里是列表
  • 这里是列表
  • 这里是二级列表
  • 这里是二级列表
  • 这里是二级列表
  • 这里是二级列表
  • 这里是列表
  • 这里是列表
  • 这里是列表
  •         <ul>          <li>这里是列表</li>          <li>这里是列表</li>            <ul class="list-inline">              <li>这里是二级列表</li>              <li>这里是二级列表</li>              <li>这里是二级列表</li>              <li>这里是二级列表</li>            </ul>          <li>这里是列表</li>          <li>这里是列表</li>          <li>这里是列表</li>        </ul>
    Copy after login

    普通描述

    名言 如果你陷入困境,那不是你父母的过错,所以不要尖声抱怨我们的错误,要从中吸取教训。 比尔盖茨的名人名言是这样描述的 在你出生之前,你的父母并非像他们现在这样乏味。 他们变成今天这个样子是因为这些年来他们一直在为你付账单,给你洗衣服,听你大谈你是如何的酷。 所以,如果你想消灭你父母那一辈中的"寄生虫"来拯救雨林的话,还是先去清除你房间衣柜里的虫子吧。

            <dl>          <dt>名言</dt>          <dd>如果你陷入困境,那不是你父母的过错,所以不要尖声抱怨我们的错误,要从中吸取教训。</dd>          <dt>比尔盖茨的名人名言是这样描述的</dt>          <dd>在你出生之前,你的父母并非像他们现在这样乏味。            他们变成今天这个样子是因为这些年来他们一直在为你付账单,给你洗衣服,听你大谈你是如何的酷。            所以,如果你想消灭你父母那一辈中的"寄生虫"来拯救雨林的话,还是先去清除你房间衣柜里的虫子吧。          </dd>        </dl>
    Copy after login

    水平排列描述.dl-horizontal

    名言 如果你陷入困境,那不是你父母的过错,所以不要尖声抱怨我们的错误,要从中吸取教训。 比尔盖茨的名人名言是这样描述的 在你出生之前,你的父母并非像他们现在这样乏味。 他们变成今天这个样子是因为这些年来他们一直在为你付账单,给你洗衣服,听你大谈你是如何的酷。 所以,如果你想消灭你父母那一辈中的"寄生虫"来拯救雨林的话,还是先去清除你房间衣柜里的虫子吧。

            <dl class="dl-horizontal">          <dt>名言</dt>          <dd>如果你陷入困境,那不是你父母的过错,所以不要尖声抱怨我们的错误,要从中吸取教训。</dd>          <dt>比尔盖茨的名人名言是这样描述的</dt>          <dd>在你出生之前,你的父母并非像他们现在这样乏味。            他们变成今天这个样子是因为这些年来他们一直在为你付账单,给你洗衣服,听你大谈你是如何的酷。            所以,如果你想消灭你父母那一辈中的"寄生虫"来拯救雨林的话,还是先去清除你房间衣柜里的虫子吧。          </dd>        </dl>
    Copy after login

    代码

    内联代码 code

    Let's add a headFile #include

              Let's add a headFile <code>#include<stdio></code>
    Copy after login

    用户输入 kbd

    请按 F5 刷新

              请按 <kbd>F5</kbd> 刷新
    Copy after login

    代码块 pre

    <div>This is a tag name div </div>
    Copy after login

              
    <div>This is a tag name div </div>
    Copy after login

    变量 var

    a

              <var>a</var>
    Copy after login

    程序输出 samp

    Hello World!

              <samp>Hello World!</samp>
    Copy after login

     

     

    本篇总结了一些常用的bootstrap3 的Css样式,但并非所有。

    详细的学习请参考bootstrap官网:http://getbootstrap.com

    bootstrap4 即将到来,期待!

    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

    Hot AI Tools

    Undresser.AI Undress

    Undresser.AI Undress

    AI-powered app for creating realistic nude photos

    AI Clothes Remover

    AI Clothes Remover

    Online AI tool for removing clothes from photos.

    Undress AI Tool

    Undress AI Tool

    Undress images for free

    Clothoff.io

    Clothoff.io

    AI clothes remover

    AI Hentai Generator

    AI Hentai Generator

    Generate AI Hentai for free.

    Hot Article

    R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
    2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
    Repo: How To Revive Teammates
    4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
    Hello Kitty Island Adventure: How To Get Giant Seeds
    3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

    Hot Tools

    Notepad++7.3.1

    Notepad++7.3.1

    Easy-to-use and free code editor

    SublimeText3 Chinese version

    SublimeText3 Chinese version

    Chinese version, very easy to use

    Zend Studio 13.0.1

    Zend Studio 13.0.1

    Powerful PHP integrated development environment

    Dreamweaver CS6

    Dreamweaver CS6

    Visual web development tools

    SublimeText3 Mac version

    SublimeText3 Mac version

    God-level code editing software (SublimeText3)

    Difficulty in updating caching of official account web pages: How to avoid the old cache affecting the user experience after version update? Difficulty in updating caching of official account web pages: How to avoid the old cache affecting the user experience after version update? Mar 04, 2025 pm 12:32 PM

    The official account web page update cache, this thing is simple and simple, and it is complicated enough to drink a pot of it. You worked hard to update the official account article, but the user still opened the old version. Who can bear the taste? In this article, let’s take a look at the twists and turns behind this and how to solve this problem gracefully. After reading it, you can easily deal with various caching problems, allowing your users to always experience the freshest content. Let’s talk about the basics first. To put it bluntly, in order to improve access speed, the browser or server stores some static resources (such as pictures, CSS, JS) or page content. Next time you access it, you can directly retrieve it from the cache without having to download it again, and it is naturally fast. But this thing is also a double-edged sword. The new version is online,

    How do I use HTML5 form validation attributes to validate user input? How do I use HTML5 form validation attributes to validate user input? Mar 17, 2025 pm 12:27 PM

    The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

    How to efficiently add stroke effects to PNG images on web pages? How to efficiently add stroke effects to PNG images on web pages? Mar 04, 2025 pm 02:39 PM

    This article demonstrates efficient PNG border addition to webpages using CSS. It argues that CSS offers superior performance compared to JavaScript or libraries, detailing how to adjust border width, style, and color for subtle or prominent effect

    What are the best practices for cross-browser compatibility in HTML5? What are the best practices for cross-browser compatibility in HTML5? Mar 17, 2025 pm 12:20 PM

    Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

    What is the purpose of the <datalist> element? What is the purpose of the <datalist> element? Mar 21, 2025 pm 12:33 PM

    The article discusses the HTML &lt;datalist&gt; element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

    What is the purpose of the <progress> element? What is the purpose of the <progress> element? Mar 21, 2025 pm 12:34 PM

    The article discusses the HTML &lt;progress&gt; element, its purpose, styling, and differences from the &lt;meter&gt; element. The main focus is on using &lt;progress&gt; for task completion and &lt;meter&gt; for stati

    How do I use the HTML5 <time> element to represent dates and times semantically? How do I use the HTML5 <time> element to represent dates and times semantically? Mar 12, 2025 pm 04:05 PM

    This article explains the HTML5 &lt;time&gt; element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

    What is the purpose of the <meter> element? What is the purpose of the <meter> element? Mar 21, 2025 pm 12:35 PM

    The article discusses the HTML &lt;meter&gt; element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates &lt;meter&gt; from &lt;progress&gt; and ex

    See all articles