<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document
</title>
<link rel="stylesheet" type="text/css" href="../../css/bootstrap.css"/>
<script src="../../js/jquery-1.11.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<style type="text/css">
.mt50{margin-top: 50px;}
.carousel-inner >.item img{width: 100%;height: 300px;}
</style>
<div class="container mt50">
<div class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="item active">
<img src="http://img-cdn2.luoo.net/site/201710/59df32615f7cf.jpg"/>
</div>
<div class="item">
<img src="http://img-cdn2.luoo.net/site/201710/59db18dd28759.jpg"/>
</div>
<div class="item">
<img src="http://img-cdn2.luoo.net/site/201710/59ddf17c9ce1e.jpg"/>
</div>
</div>
</div>
</div>
</body>
</html>
转载于:https://www.cnblogs.com/bilaisheng/p/10210946.html
相关资源:JAVA上百实例源码以及开源项目
转载请注明原文地址: https://mac.8miu.com/read-2292.html