dimanche 19 avril 2015

Adding text over an image in Bootstrap carousel

I have a carousel with an image that i would like to put text over, but it is not working. The text appears under the image instead of overlayed on top of it



<!-- WRAPPER FOR SLIDES -->
<div class="carousel-inner">
<div class="active item">
<div class="carousel-content">
<img src="img/Slide 1.jpg" alt="..." position="relative">
<p>TEST</p>
</div>

<div class="carousel-caption">
<h3>What we do</h3>
</div>
</div>
<div class="item">
<img src="http://ift.tt/1DAf8aX" alt="...">
<div class="carousel-caption">
<h3>What we Do</h3>
</div>
</div>
<div class="item">
<img src="http://ift.tt/1DAf8aX" alt="...">
<div class="carousel-caption">
<h3>Who we Are</h3>
</div>
</div>
</div>

Aucun commentaire:

Enregistrer un commentaire