title: Text over image - responsive
body: <p>this is my first question soo... i have to do someting like this:</p>
  
  <p><a href="https://i.stack.imgur.com/MA0JE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/MA0JE.png" alt="enter image description here"></a></p>
  
  <p>but i search a lot and nothing work for me, i had something like this in my html and css</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.thumbnail {
      position: relative;
      margin-bottom: 0;
      border: 0;
      border-color: transparent;
  }
  
  .caption {
      position: absolute;
      top: 40%;
      left: 0;
      width: 100%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>  &lt;div id="box-search"&gt;
        &lt;div class="thumbnail text-center"&gt;
            &lt;img src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Granola03242006.JPG/280px-Granola03242006.JPG" alt=""&gt;
            &lt;div class="caption"&gt;
                &lt;p&gt;contacto@windberg.cl&lt;/p&gt;
                &lt;p&gt;+56983874071   |   +56228231294&lt;/p&gt;
                &lt;p&gt;El Aguilucho 3174, Providencia, Región Metropolitana&lt;/p&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>that work, but when i use the responsive mode from chrome, the text leave the image</p>
  
  <p>(sorry for my english, i speak spanish)</p>