title: bootstrap 4 carousel caption is not visible on small devices
body: <p>I was practicing bootstrap 4 carousal example given in <a href="http://v4-alpha.getbootstrap.com/examples/" rel="noreferrer">http://v4-alpha.getbootstrap.com/examples/</a> . carousal caption is not visible when testing it for mobile or small screen. Any help please.</p>
  
  <pre><code> &lt;div id="myCarousel" class="carousel slide" data-ride="carousel"&gt;
   &lt;ol class="carousel-indicators"&gt;
   &lt;li data-target="#myCarousel" data-slide-to="0" class="active"&gt;&lt;/li&gt;
   &lt;li data-target="#myCarousel" data-slide-to="1"&gt;&lt;/li&gt;
   &lt;li data-target="#myCarousel" data-slide-to="2"&gt;&lt;/li&gt;
   &lt;/ol&gt;
   &lt;div class="carousel-inner" role="listbox"&gt;
   &lt;div class="carousel-item active"&gt;
   &lt;img class="first-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="First slide"&gt;
   &lt;div class="container"&gt;
   &lt;div class="carousel-caption d-none d-md-block text-left"&gt;
   &lt;h1&gt;Example headline.&lt;/h1&gt;
   &lt;p&gt;Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.&lt;/p&gt;
   &lt;p&gt;&lt;a class="btn btn-lg btn-primary" href="#" role="button"&gt;Sign up today&lt;/a&gt;&lt;/p&gt;
   &lt;/div&gt;
   &lt;/div&gt;
   &lt;/div&gt;
   &lt;div class="carousel-item"&gt;
   &lt;img class="second-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Second slide"&gt;
   &lt;div class="container"&gt;
   &lt;div class="carousel-caption d-none d-md-block"&gt;
   &lt;h1&gt;Another example headline.&lt;/h1&gt;
   &lt;p&gt;Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.&lt;/p&gt;
   &lt;p&gt;&lt;a class="btn btn-lg btn-primary" href="#" role="button"&gt;Learn more&lt;/a&gt;&lt;/p&gt;
   &lt;/div&gt;
   &lt;/div&gt;
   &lt;/div&gt;
   &lt;div class="carousel-item"&gt;
   &lt;img class="third-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Third slide"&gt;
   &lt;div class="container"&gt;
   &lt;div class="carousel-caption d-none d-md-block text-right"&gt;
   &lt;h1&gt;One more for good measure.&lt;/h1&gt;
   &lt;p&gt;Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.&lt;/p&gt;
   &lt;p&gt;&lt;a class="btn btn-lg btn-primary" href="#" role="button"&gt;Browse gallery&lt;/a&gt;&lt;/p&gt;
   &lt;/div&gt;
   &lt;/div&gt;
   &lt;/div&gt;
   &lt;/div&gt;
   &lt;a class="carousel-control-prev" href="#myCarousel" role="button" data-slide="prev"&gt;
   &lt;span class="carousel-control-prev-icon" aria-hidden="true"&gt;&lt;/span&gt;
   &lt;span class="sr-only"&gt;Previous&lt;/span&gt;
   &lt;/a&gt;
   &lt;a class="carousel-control-next" href="#myCarousel" role="button" data-slide="next"&gt;
   &lt;span class="carousel-control-next-icon" aria-hidden="true"&gt;&lt;/span&gt;
   &lt;span class="sr-only"&gt;Next&lt;/span&gt;
   &lt;/a&gt;
   &lt;/div&gt;
  </code></pre>