2017-02-15 52 views
0

picture如何削減股利曲柄

我想設計滑塊喜歡這幅畫。我有它的旋轉木馬引導滑塊的某一部分,我怎麼能削減股利曲軸,並設置它之外的另一個DIV?

這是我的滑代碼,用來引導類

<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> 
 
\t <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>

+0

你說的意思是「切div曲柄「? – Zze

+0

@Zze我的意思是像圖片滑塊不光滑 – golbahar

+0

@Zze我的意思是對角線 – golbahar

回答