html - 如何切割部分曲柄

标签 html css twitter-bootstrap-3

picture

我想设计像这张图片这样的 slider 。我有它的带有旋转木马 Bootstrap 的 slider ,我如何切割 div 曲柄并在它旁边设置另一个 div?

这是我使用引导类的 slider 代码

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>

<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>
    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
  </ol>

 
  <div class="carousel-inner" role="listbox">
    <div class="item active">
      <img  class="img-responsive center-block" src="http://placehold.it/350x150" alt="...">
    </div>
    <div class="item">
      <img  class="img-responsive center-block" src="http://placehold.it/350x150/ff0000/ffffff/" alt="..." >
    </div>
	 <div class="item">
      <img  class="img-responsive center-block" src="http://placehold.it/350x150/ffff00/ffffff/" alt="..." >
    </div>
  </div>

  <!-- Controls -->
  <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>

最佳答案

查看此链接 FlexSlider 2如果我没理解错的话就是这个插件

关于html - 如何切割部分曲柄,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42244908/

相关文章:

javascript - Chrome v.44 中的 translate3d 存在错误?

javascript - 我必须复制这个功能吗? -jQuery

html - CSS 动画不工作(以前工作)

html - 键盘打开 bootstrap 3 时出现粘性页脚问题

html - Foundation - 根据 Foundation 断点重新组织 block

html - Chrome 不响应 CSS

html - 带有背景图像 : url () 的 CSS 中的内联图像

html - div 在另一个 div 之上的固定或粘性位置

css - 我如何获得 Twitter bootstrap 3 种颜色的列表?

jquery - 无法正确定位清除按钮