bootstrap 轮播
来源:互联网 发布:在职研究生知乎 编辑:程序博客网 时间:2024/06/08 06:11
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>首页</title>
<link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<style type="text/css">
img{
margin:0 auto;
}
</style>
</head>
<body>
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
<li data-target="#carousel-example-generic" data-slide-to="3"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="img/1.jpg" height="400" width="800" alt="....">
<div class="carousel-caption">
...
</div>
</div>
<div class="item">
<img src="img/2.jpg" height="400" width="800" alt="....">
<div class="carousel-caption">
...
</div>
</div>
<div class="item">
<img src="img/3.jpg" height="400" width="800" alt="....">
<div class="carousel-caption">
...
</div>
</div>
<div class="item">
<img src="img/4.jpg" height="400" width="800" alt="....">
<div class="carousel-caption">
...
</div>
</div>
....
</div>
</div>
</body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>首页</title>
<link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<style type="text/css">
img{
margin:0 auto;
}
</style>
</head>
<body>
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
<li data-target="#carousel-example-generic" data-slide-to="3"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="img/1.jpg" height="400" width="800" alt="....">
<div class="carousel-caption">
...
</div>
</div>
<div class="item">
<img src="img/2.jpg" height="400" width="800" alt="....">
<div class="carousel-caption">
...
</div>
</div>
<div class="item">
<img src="img/3.jpg" height="400" width="800" alt="....">
<div class="carousel-caption">
...
</div>
</div>
<div class="item">
<img src="img/4.jpg" height="400" width="800" alt="....">
<div class="carousel-caption">
...
</div>
</div>
....
</div>
</div>
</body>
</html>
阅读全文
0 0
- Bootstrap 轮播
- bootstrap 轮播总结
- Bootstrap轮播
- bootstrap图片轮播
- bootstrap 轮播
- Bootstrap图片轮播
- Bootstrap图片轮播
- Bootstrap 旋转轮播
- 【BootStrap】图片轮播
- BootStrap 轮播插件
- BootStrap图片轮播
- Bootstrap轮播
- Bootstrap 图片轮播
- Bootstrap轮播
- 浅谈Bootstrap轮播
- Bootstrap图片轮播
- Bootstrap 轮播效果
- Bootstrap---图片轮播
- 漫步最优化二十六——黄金分割搜索
- maven--6.概念(继承)
- virtualbox修改虚拟机mac地址后不能识别网卡
- android性能优化
- 安卓面试准备的知识点
- bootstrap 轮播
- Java汉字转成汉语拼音工具类
- mysql---连接数太多 (1040 too many connection),调大连接
- JAVA设计模式:工厂模式之抽象工厂
- 第七周项目4-队列数组
- IoC---spring(实例解析)
- jdk1.6和jdk1.7的区别,action那边,会将前台传过来的json中的“双引号,自动过滤掉,导致后台识别json的时候报错。
- PHP+JQ+AJAX+json 数据库实时动态增删改查
- 多线程之多线程ThreadPoolExecutor