bootstrap text on image responsive code example

Example 1: image on text in bootstrap

<div class="text-center">
  <img src="..." class="rounded" alt="...">
</div>

Example 2: How to put text inside image in bootstrap

<div class="container">
  <img src="img_snow_wide.jpg" alt="Snow" 
  style="width:100%;">
  <div class="bottom-left">Bottom Left</div>
  
  <div class="top-left">Top Left</div>
  <div class="top-right">Top 
  Right</div>
  <div class="bottom-right">Bottom Right</div>
  
  <div class="centered">Centered</div>
</div>

Tags: