Skip to content

Instantly share code, notes, and snippets.

@flayder
Created September 5, 2015 10:45
Show Gist options
  • Save flayder/9f08ebc3c4a8a9c9f208 to your computer and use it in GitHub Desktop.
Save flayder/9f08ebc3c4a8a9c9f208 to your computer and use it in GitHub Desktop.
slider-bootstrap3
<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>
<!-- Контент слайда (slider wrap)-->
<div class="carousel-inner">
<div class="item active">
<img src="..." alt="...">
<div class="carousel-caption">
...
</div>
</div>
...
</div>
<!-- Элементы управления -->
<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment