Bootstrap轮播导航控件太高了

时间:2015-07-05 13:28:26

标签: html css twitter-bootstrap twitter-bootstrap-3 carousel

我有一个Bootstrap轮播,但左右导航控件在图像底部后面的旋转木马底部溢出。

Carousel navigation over flow

有什么方法可以摆脱导航箭头的溢出?

<div id="carousel" class="carousel slide" data-ride="carousel">
      <ol class="carousel-indicators">
        <li data-target="#carousel" data-slide-to="0" class="active"></li>
        <li data-target="#carousel" data-slide-to="1"></li>
      </ol>
      <div class="carousel-inner" role="listbox">
<div class="item active">
<a href="/freshers2015">
<img src="/files/2015/06/journosoc-prefreshers-web.png" alt="First slide"/>
</a>
</div>
<div class="item">
<img src="/files/2015/06/whatjourno.png" alt="Second slide"/>
</div>
</div>
 <a class="left carousel-control" href="#carousel" 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" role="button" data-slide="next">
    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </a>
    </div>

0 个答案:

没有答案