css - twitter bootstrap custom carousel indicators -


i want change carousel indicators this:

custom  carousel indicators

i have markup carousel indicators:

<ol class="carousel-indicators">       <li data-target="#showcarousel-03" data-slide-to="0" class="active">         <h4>image1</h4><br/><h5>subtitle</h5><br/><span>+</span>     </li>       <li data-target="#showcarousel-03" data-slide-to="0" class="active">         <h4>image2</h4><br/><h5>subtitle</h5><br/><span>+</span>     </li>     <li data-target="#showcarousel-03" data-slide-to="2">         <h4>image3</h4><br/><h5>subtitle</h5><br/><span>+</span>     </li>     <li data-target="#showcarousel-03" data-slide-to="0" class="active">         <h4>image4</h4><br/><h5>subtitle</h5><br/><span>+</span>     </li>                      </ol>  

css:

    .carousel-indicators {      position: absolute;      top: 0px;      left: 0px;      z-index: 5;      margin: 0;     list-style: none;      }       .carousel-indicators li{     background: url(images/triangle.png) no-repeat;     width:320px;     height:176px;     cursor: pointer;     text-align:center; } 

when resize browser carousel adapts width of screen indicators collapsing.

can me tip on how can make scale on lower resolutions carousel images does?

thank you!

l.e:

i've tried put li elements this:

 <div class="row-fluid">  <div class="span3>  <li data-target="#showcarousel-03" data-slide-to="0" class="active">     <h4>image1</h4><br/><h5>subtitle</h5><br/><span>+</span>   </li>   <div class="span3>  <li data-target="#showcarousel-03" data-slide-to="0" class="active">     <h4>image1</h4><br/><h5>subtitle</h5><br/><span>+</span>    </li>    <div class="span3>  <li data-target="#showcarousel-03" data-slide-to="0" class="active">     <h4>image1</h4><br/><h5>subtitle</h5><br/><span>+</span>  </li>  </div>  </div> 

but it's not working.

you use media query -

@media screen , (max-width:480px) {      .carousel-indicators li{         background: url(images/triangle.png) no-repeat;         background-size:120px 60px;         width:120px;         height:60px;         cursor: pointer;         text-align:center;     } 

Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -