3
How do I draw coordinates of word positions over an image using the slider Carousel bootstrap?
You could put adjectives to the image and they would come randomly at different positions on the screen, maybe with different effects as well: fade.
More details:
I’m using a popular image slider in the bootstrap called Carousel and I want to assign adjectives to an image that will appear at random points in this image, if possible with transition effect. If the photo is 800x400, the draw of the coordinates of the point where the words should appear cannot exceed the maximum resolution of the image
Follows the code:
<!-- Wrapper for Slides -->
<div class="carousel-inner">
<div class="item active">
<!-- Set the first background image using inline CSS below. -->
<div class="fill" style="background-image:url('http://placehold.it/1900x1080&text=Slide One');"></div>
<div class="carousel-caption">
<h2>Caption 1</h2>
</div>
</div>
<div class="item">
<!-- Set the second background image using inline CSS below. -->
<div class="fill" style="background-image:url('http://placehold.it/1900x1080&text=Slide Two');"></div>
<div class="carousel-caption">
<h2>Caption 2</h2>
</div>
</div>
<div class="item">
<!-- Set the third background image using inline CSS below. -->
<div class="fill" style="background-image:url('http://placehold.it/1900x1080&text=Slide Three');"></div>
<div class="carousel-caption">
<h2>Caption 3</h2>
</div>
</div>
</div>