亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

為什么代碼一樣,可是不能實現效果

? ? ? ?<div id="carousel-example-generic" 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>

? ? ? ? ? </ol>

? ? ? ? ? <div class="carousel-inner" role="listbox">

? ? ? ? ? ? <div class="item active">

? ? ? ? ? ? ? <img src="images/header-bg.jpg">

? ? ? ? ? ? ? <div class="carousel-caption"></div>

? ? ? ? ? ? </div>

? ? ? ? ? ? <div class="item active">

? ? ? ? ? ? ? <img src="images/header-bg.jpg">

? ? ? ? ? ? ? <div class="carousel-caption"></div>

? ? ? ? ? ? </div>

? ? ? ? ? </div>

? ? ? ? ? <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="pre">

? ? ? ? ? ? <span class="glyphicon glyphicon-chevron-left"></span>

? ? ? ? ? ? <span class="sr-only">pre</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>


正在回答

3 回答

為什么圖片不居中?還有為啥不是輪播了?是上下排列?

0 回復 有任何疑惑可以回復我~

http://img1.sycdn.imooc.com//5842788c0001eb1706700542.jpg請看上圖

0 回復 有任何疑惑可以回復我~

http://img1.sycdn.imooc.com//5842787c00018af307880609.jpg

active多余了,去掉就可以了

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

為什么代碼一樣,可是不能實現效果

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號