Views/Home/Carousel.cshtml


@{
  ViewBag.Title = "Carousel";
}
<div class="container container-fluid">
  <div class="col-sm-4"></div>

<div id="myCarousel" class="carousel slide col-sm-4 text-center" data-ride="carousel">
  <!-- Indicators -->
  <ol class="carousel-indicators">
    <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
    <li data-target="#myCarousel" data-slide-to="1"></li>
    <li data-target="#myCarousel" data-slide-to="2"></li>
  </ol>
  <div class="carousel-inner" role="listbox">
    <div class="item active img-responsive">
      <img src="~/Images/BigPics/TreasuryEdition1.jpg" alt="Doctor Strange 169" />
    </div>
    <div class="item img-responsive">
      <img src="~/Images/BigPics/TreasuryEdition6.jpg" alt="Action Comics 1" />
    </div>
    <div class="item img-responsive">
      <img src="~/Images/BigPics/TreasuryEdition11.jpg" alt="Daredevil1 1" />
    </div>
  </div>
  <a class="left carousel-control" href="#myCarousel" 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="#myCarousel" role="button" data-slide="next">
    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </a>
</div><!-- /.carousel -->
  <div class="col-sm-4"></div>
</div>