Difference between revisions of "Template: Main page carousel"

From Lyndsey Twining
Jump to: navigation, search
Line 1: Line 1:
<html>
+
<div id="carouselExampleSlidesOnly" class="carousel" data-ride="carousel">
<div id="carouselExampleIndicators" class="carousel" data-ride="carousel">
+
  <div class="carousel-inner">
<ol class="carousel-indicators">
+
    <div class="carousel-item active">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
+
      <img src="..." alt="First slide">
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
+
    </div>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
+
    <div class="carousel-item">
</ol>
+
      <img src="..." alt="Second slide">
<div class="carousel-inner">
+
    </div>
<div class="carousel-item active">
+
    <div class="carousel-item">
<img class="d-block w-100" src="..." alt="First slide">
+
      <img src="..." alt="Third slide">
 +
    </div>
 +
  </div>
 
</div>
 
</div>
<div class="carousel-item">
 
<img class="d-block w-100" src="..." alt="Second slide">
 
</div>
 
<div class="carousel-item">
 
<img class="d-block w-100" src="..." alt="Third slide">
 
</div>
 
</div>
 
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
 
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
 
<span class="sr-only">Previous</span>
 
</a>
 
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
 
<span class="carousel-control-next-icon" aria-hidden="true"></span>
 
<span class="sr-only">Next</span>
 
</a>
 
</div>
 
</html>
 

Revision as of 15:54, 2 March 2018