Created
August 3, 2016 04:16
-
-
Save TANVIRFAZLEY/f40cc3723a3db4edc13ed3c2cfadc8b3 to your computer and use it in GitHub Desktop.
Bootstrap carousel with font awesome icon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- id change --> | |
<div id="fawesome-carousel" class="carousel slide" data-ride="carousel"> | |
<ol class="carousel-indicators"> | |
<li data-target="#fawesome-carousel" data-slide-to="0" class="active"></li> | |
<li data-target="#fawesome-carousel" data-slide-to="1"></li> | |
</ol> | |
<div class="carousel-inner" role="listbox"> | |
<div class="item active"> | |
</div> | |
<div class="item"> | |
</div> | |
</div> | |
<a class="left slide-control" href="#fawesome-carousel" role="button" data-slide="prev"><i class="fa fa-angle-left"></i></a> | |
<a class="right slide-control" href="#fawesome-carousel" role="button" data-slide="next"><i class="fa fa-angle-right"></i></a> | |
</div> | |
<style type="text/css"> | |
.slide-control{color:#fff;font-size:80px;left:30px;margin-top:-70px;position:absolute;top:50%;} | |
.slide-control.right{left:auto;right:30px;} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you! Is it possibile to change the carousel indicators too?