轮播图
程序员文章站
2022-03-09 12:21:19
...
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8"><!--编码-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap 101 Template</title>
<link href="../css/bootstrap.css" rel="stylesheet">
<script src="../js/jquery-3.2.1.min.js"></script>
<script src="../js/bootstrap.js"></script>
</head>
<body>
<div id="carousel-example-generic" data-interval="3000" class="carousel slide" data-ride="carousel">
<!-- 图片上的空心圆 -->
<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>
</ol>
<!-- 轮播图的图片 -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="" alt="...">
<div class="carousel-caption">
我是标题
</div>
</div>
<div class="item">
<img src="" alt="...">
<div class="carousel-caption">
</div>
</div>
<div class="item">
<img src="" alt="...">
<div class="carousel-caption">
</div>
</div>
</div>
<!-- 左右控制 glyphicon 字体 -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</body>
</html>
上一篇: PowerShell插入域用户属性
下一篇: java实现自动售货机