图片不能轮播?

<!DOCTYPE html>
<html lang="zh-CN">
<head>
   <meta name="viewport" content="width=device-width,initial-scale=1">
   <meta charset="UTF-8">
   <title>Title</title>


   <link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/bootstrap.offcanvas.min.css"/>
<script src="js/jquery-2.2.0.min.js"></script>
<script src="js/bootstrap.min.js"></script>

<head>

<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>
   </ol>

   <!-- Wrapper for slides -->
   <div class="carousel-inner" role="listbox">
       <div class="item active">
           <img src="107063-12042114025737.jpg" alt="hahaha">
           <div class="carousel-caption">
               ...
           </div>
       </div>
       <div class="item">
           <img src="103-160Q509544OC.jpg" alt="xixixi">
           <div class="carousel-caption">
               ...
           </div>
       </div>
       <div class="item">
           <img src="b8014a90f603738d8586ee04b01bb051f919eccc.jpg" alt="xixixi">
           <div class="carousel-caption">
               ...
           </div>
       </div>
   </div>

   <!-- Controls -->
   <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
       <span class="glyphicon glyphicon-chevron-left"></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"></span>
       <span class="sr-only">Next</span>
   </a>
</div>



发光的葡萄
浏览 1302回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Bootstrap