巨幕:

<div class="jumbotron">
<div class="container">
<h1>W3School</h1>
<p>好好学习好好学习天天向上好好学习天天向上好好学习天天向上</p>
<p><a href="#" class="btn btn-primary">确定</a></p>
</div>
</div>

图:

缩略图:

<!--
thumbnail 缩略图
-->
<div class="container">
<div class="row">
<div class="col-lg-2">
<a href="www.baidu.com" class="thumbnail">
<img src="user_photo.png" />
</a>
</div>
<div class="col-lg-2">
<a href="www.baidu.com" class="thumbnail">
<img src="user_photo.png" />
</a>
</div>
</div> <!--还可以把thumbnail给父级会有不同的样式 -->
<div class="row" style="margin-top:20px">
<div class="col-lg-4">
<div class="thumbnail">
<a href="#">
<img src="user_photo.png" />
</a>
<div class="caption">
<h3>W3School</h3>
<p>各种知识点在这里找得到</p>
<p>
<a href="#" class="btn btn-primary">查看</a>
<a href="#" class="btn btn-danger">删除</a>
</p>
</div>
</div>
</div>
</div>
</div>

图:

警告框:

<div class="container">
<div class="row">
<p class="alert alert-success">这是一个警告框!
<button class="close" data-dismiss="alert">&times</button>
</p>
<p class="alert alert-info">这是一个警告框!</p>
<p class="alert alert-danger">出错!</p>
<p class="alert alert-warning">这是一个警告框!</p>
<p class="alert alert-success">这是一个警告框!</p>
</div>
</div>

图:

另一个警告框:

<div class="row">
<div class="alert alert-danger alert-dismissible" role="alert">
<button class="close" data-dismiss="alert">&times</button>
<strong>警告!</strong> 检测到您当前使用的IE浏览版版本过低,可能会带来不好的体验,请使用<a href="#" class="alert-link">更高级版本的浏览器。</a>
</div>
</div>

bootstrap-巨幕、缩略图、警告框的更多相关文章

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

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

  2. Bootstrap 缩略图 警告框

    @{    Layout = null;}<!DOCTYPE html><html><head>    <meta name="viewport&q ...

  3. 第二百四十六节,Bootstrap弹出框和警告框插件

    Bootstrap弹出框和警告框插件 学习要点: 1.弹出框 2.警告框 本节课我们主要学习一下 Bootstrap 中的弹出框和警告框插件. 一.弹出框 弹出框即点击一个元素弹出一个包含标题和内容的 ...

  4. Bootstrap 巨幕页头缩略图和警告框组件

    一.巨幕组件 //在固定的范围内,有圆角 <div class="container"> <div class="jumbotron"> ...

  5. Bootstrap(9) 巨幕页头缩略图和警告框组件

    一.巨幕组件巨幕组件主要是展示网站的关键性区域.//在固定的范围内,有圆角 <div class="container"> <div class="ju ...

  6. 第二百四十节,Bootstrap巨幕页头缩略图和警告框组件

    Bootstrap巨幕页头缩略图和警告框组件 学习要点: 1.巨幕组件 2.页头组件 3.缩略图组件 4.警告框组件 本节课我们主要学习一下 Bootstrap 的四个组件功能:巨幕组件.页头组件.缩 ...

  7. BootStrap学习(4)_分页&标签&缩略图&警告&进度条

    一.分页 分页(Pagination),是一种无序列表,Bootstrap 像处理其他界面元素一样处理分页.  .pagination     --添加该 class 来在页面上显示分页. .disa ...

  8. Bootstrap入门(三十)JS插件7:警告框

    Bootstrap入门(三十)JS插件7:警告框 通过这个插件可以为警告信息添加点击以及消失的功能. 当使用一个.close按钮,它必须是第一个子元素.alert-dismissible,并没有文字内 ...

  9. Bootstrap入门(二十一)组件15:警告框

    Bootstrap入门(二十一)组件15:警告框 通过这些简单.灵活的进度条,为当前工作流程或动作提供实时反馈. 进度条组件使用了 CSS3 的 transition 和 animation 属性来完 ...

随机推荐

  1. DateFomrat Mask in ASPxTextbox increases width ,How to disable display of dxeErrorCell on ASPxTextBox

    让ASPxTextbox显示yyyy-MM-dd, 需设置 <MaskSettings Mask="yyyy-MM-dd" />.但是会导致ASPxTextbox宽度变 ...

  2. 调用回调函数出现或者大循环出现has triggered a breakpoint

    triggered a breakpoint 的意思是触发一个断点.这个问题一般发生在程序运行过程中.下面是错误发生显示的信息:Windows has triggered a breakpoint i ...

  3. ubuntu install wine

    1 install sUdo add-apt-repository ppa:wine/wine-builds sudo apt-get update sudo apt-get install wine ...

  4. Cloudera-Manager修改集群的IP

    1.业务需求说明:由于公司网络进行了整改,随之而来的就是对应的ip网段发生了变化,其中我的hadoop的集群各主机的ip也相应的发生了改变,因此需要对各主机进行修改ip. 2.具体操作: 首先停止cd ...

  5. UIkit框架之UISegmentedControl

    1.继承链:UIcontrol:UIview:uiresponder:NSObject 2.初始化 (1)- (instancetype)initWithItems:(NSArray *)items ...

  6. 简单poi读取excel

    1.添加依赖jar包 maven配置: <!-- poi being --> <dependency> <groupId>org.apache.poi</gr ...

  7. 【Avalon】factory

    (function(global, factory) { if (typeof module === "object" && typeof module.expor ...

  8. 552 you must authentication

    配置邮箱到outlook时 出现以下错误: 发送测试电子邮件消息: 无法发送此邮件.请在帐户属性中验证电子邮件地址.  响应服务器: 552 you must authentication 需要在”其 ...

  9. linux dns 连外网

    以下设置对所用的Linux系统如Redhat/Ubuntu/Debian/CentOS等都有效,但您必须是管理员root或者具有管理员权限 vim /etc/resolv.conf 在其中加入: na ...

  10. mysql取代rand()的高效率随机读取方法

    SELECT * FROM `table` AS t1 JOIN (SELECT ROUND(RAND() * (SELECT MAX(id) FROM `table`)) AS id) AS t2 ...