警告框
 
<div class="container">
     <div class="alert alert-success" role="alert">
          你好,喵星人!
     </div>
     <div class="alert alert-danger" role="alert">
          你好,喵星人!
     </div>
     <div class="alert alert-info" role="alert">
          你好,喵星人!
     </div>
     <div class="alert alert-warning" role="alert">
          你好,喵星人!
     </div>
</div>
可关闭警告框
 
<div class="container">
    <div class="alert alert-warning" role="alert">
        <button type="button" class="close" data-dismiss="alert">
            <span aria-disabled="true">&times;</span>
        </button>
        <strong>你好!</strong>
    </div>
</div>
 
<script src="js/jquery.mini.js"></script>
<script src="js/bootstrap.min.js"></script>
 
进度条
<div class="progress">
    <div class="progress-bar" role="progressbar" aria-valuenow="50" aria-valuemax="100" aria-valuemin="0" style="width: 50%">
        <span class="sr-only">60%</span>
    </div>
</div>
 
带有提示框的进度条
<div class="progress">
    <div class="progress-bar" role="progressbar" aria-valuenow="50" aria-valuemax="100" aria-valuemin="0" style="width: 50%">
        60%
    </div>
</div>
 
带斜纹的进度条
<div class="progress">
    <div class="progress-bar progress-bar-striped" role="progressbar" aria-valuenow="50" aria-valuemax="100" aria-valuemin="0" style="width: 50%">
        60%
    </div>
</div>
动画效果
.active
堆叠效果
 
<div class="progress">
    <div class="progress-bar" style="width: 30%">30%</div>
    <div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" style="width: 50%">
        50%
    </div>
</div>
 
列表组
基本的列表组,徽章,链接,被警用的条目,全景类,定制内容
 
<ul class="list-group">
    <li class="list-group-item">喵星人1<span class="badge">10</span></li>
    <li class="list-group-item">喵星人2</li>
    <li class="list-group-item">喵星人3<span class="badge">20</span></li>
    <li class="list-group-item">喵星人4<span class="badge">30</span></li>
</ul>
 
<div class="list-group">
    <a href="" class="list-group-item">喵星人</a>
    <a href="" class="list-group-item">喵星人</a>
    <a href="" class="list-group-item">喵星人</a>
    <a href="" class="list-group-item">喵星人</a>
</div>
 
<div class="list-group">
    <a href="" class="list-group-item list-group-item-danger">喵星人</a>
    <a href="" class="list-group-item list-group-item-success">喵星人</a>
    <a href="" class="list-group-item list-group-item-info">喵星人</a>
    <a href="" class="list-group-item list-group-item-warning">喵星人</a>
</div>
 
<!--定制-->
<div class="list-group">
    <a href="#" class="list-group-item">
        <h4 class="list-group-item-heading">你好,喵星人</h4>
        <p class="list-group-item-text">
            喵星人很有依稀,你好,喵星人你好,喵星人你好,喵星人你好,喵星人
        </p>
    </a>
    <a href="#" class="list-group-item">
        <h4 class="list-group-item-heading">你好,喵星人</h4>
        <p class="list-group-item-text">
            喵星人很有依稀,你好,喵星人你好,喵星人你好,喵星人你好,喵星人
        </p>
    </a>
    <a href="#" class="list-group-item">
        <h4 class="list-group-item-heading">你好,喵星人</h4>
        <p class="list-group-item-text">
            喵星人很有依稀,你好,喵星人你好,喵星人你好,喵星人你好,喵星人
        </p>
    </a>
</div>
 

bootstrap警告框、进度条和列表组的更多相关文章

  1. Bootstrap 警告、进度条、列表组、面板

    摘要:该部分包括警告.进度条.列表组.面板等部分. 1.警告(alert) 1.1 基本的警告(.alert) 警告的基类是 .alert .和其他样式类一块使用.例如: .alert-success ...

  2. Bootstrap -- 缩略图、进度条、列表组、面板

    Bootstrap -- 缩略图.进度条.列表组.面板 1. 缩略图 大多数站点都需要在网格中布局图像.视频.文本等.Bootstrap 通过缩略图为此提供了一种简便的方式.使用 Bootstrap ...

  3. ⑿bootstrap组件 缩略图 警告框 进度条 基础案例

      <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&q ...

  4. bootstrap得动态进度条

    Bootstrap的动态进度条: html: 创建一个modal   这里使用fade先将modal隐藏起来,然后modal里面嵌入progress 代码很简单 <div class=" ...

  5. Bootstrap警告框

    前面的话 在网站中,网页总是需要和用户一起做沟通与交流.特别是当用户操作上下文为用户提供一些有效的警示框,比如说告诉用户操作成功.操作错误.提示或者警告等.在Bootstrap框架有一个独立的组件,实 ...

  6. Bootstrap历练实例:默认的列表组

    Bootstrap 列表组 本章我们将讲解列表组.列表组件用于以列表形式呈现复杂的和自定义的内容.创建一个基本的列表组的步骤如下: 向元素 <ul> 添加 class .list-grou ...

  7. BootStrap学习(5)_多媒体对象&列表组

    一.多媒体对象 这些抽象的对象样式用于创建各种类型的组件(比如:博客评论),我们可以在组件中使用图文混排,图像可以左对齐或者右对齐.媒体对象可以用更少的代码来实现媒体对象与文字的混排. .media: ...

  8. bootstrap 警告框多个删除

    <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>& ...

  9. bootstrap 警告框单个删除

    <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>& ...

随机推荐

  1. SPOJ:Red John is Back(DP)

    Red John has committed another murder. But this time, he doesn't leave a red smiley behind. What he ...

  2. 洛谷 P1509 找啊找啊找GF(复习二维费用背包)

    传送门 题目背景 "找啊找啊找GF,找到一个好GF,吃顿饭啊拉拉手,你是我的好GF.再见." "诶,别再见啊..." 七夕...七夕...七夕这个日子,对于sq ...

  3. 2.11-2.12 HBase的数据迁移常见方式

    一.importtsv 把hdfs中数据抽取到HBase表中: 1.准备数据 ##student.tsv [root@hadoop-senior datas]# cat student.tsv 100 ...

  4. 3-6局部变量的存储方式 & 3-7字符型字面值

    基础数据类型变量的存储 重点介绍方法级的变量,局势局部变量 存储中怎么存储呢? int n=100; 在栈中开辟内存存储空间. n是内存空间的别名 3-7字符型字面值 单引号不能丢,必须是英文状态. ...

  5. org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save()

    org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before ...

  6. Flex Builder 装SVN

    由于Flex Builder没有内置SVN支持,很是不便.为了方便,给Flex Builder也装了SVN插件.由于FB基于Eclipse,安装方法都是一样的. 选择 Help -> Soft ...

  7. html扩展调用qq邮箱

    总体流程:qq邮箱->设置->账户->邮我(使用邮我) over!over!over!

  8. HDU3065【AC自动机-AC感言】

    Fourth AC zi dong ji(Aho-Corasick Automation) of life 9A(其实不止交了10发...) 感言: 一开始多组数据这种小数据还是...无伤大局,因为改 ...

  9. c#实现优先级队列

    http://www.baidu.com/s?wd=c%23%E4%BC%98%E5%85%88%E7%BA%A7%E9%98%9F%E5%88%97&ie=utf-8&f=8& ...

  10. Codevs 1293 送给圣诞夜的极光

    1293 送给圣诞夜的极光  时间限制: 1 s  空间限制: 128000 KB  题目等级 : 黄金 Gold 题解  查看运行结果     题目描述 Description 圣诞老人回到了北极圣 ...