title: How to use bootstrap for pictures or videos to adjust to screen size when on mobile or tablet
body: <p>I have a website created in bootstrap so when I go on mobile or tablet the navbar and all the other stuff adjust to the screen size, but I have added 3 boxes and 2 youtube videos and I would like them to adjust to the screen size when I go on mobile or tablet. It looks fine on my desktop but when i look on my mobile the videos and the boxes are out the screen.
  Can someone please help me get this done as quick as possible please, it's very important to get it done. Can someone please walk me step by step on how to do this?
  Here are some screenshots:</p>
  
  <p>HTML For the 3 boxes which are just images</p>
  
  <pre><code>&lt;div class="img1"&gt;
  &lt;a href="link"&gt;&lt;img src="img"&gt;&lt;/a&gt;
  &lt;/div&gt;
  
  &lt;div class="img2"&gt;
  &lt;a href="link"&gt;&lt;img src="img"&gt;&lt;/a&gt;
  &lt;/div&gt;
  
  &lt;div class="img3"&gt;
  &lt;a href="link"&gt;&lt;img src="img"&gt;&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>.img1 {
   position: relative;
   left: 290px;
   bottom: -20px;
  }
  
  .img3 {
   position: relative;
   left: 578px;
   bottom: 101px;
  }
  
  .img2 {
   position: relative;
   left: 865px;
   bottom: 222px;
  }
  </code></pre>
  
  <p>Thats how it looks on my desktop</p>
  
  <p><a href="https://i.stack.imgur.com/fHoaa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fHoaa.jpg" alt="enter image description here"></a></p>
  
  <p>And thats how it looks on a tablet size, you can probably imagine how it looks on a mobile</p>
  
  <p><a href="https://i.stack.imgur.com/NZkAj.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NZkAj.jpg" alt="enter image description here"></a></p>
  
  <p>If you would like take a look yourself at <a href="http://www.praga-light.de" rel="nofollow noreferrer">http://www.praga-light.de</a>, the youtube videos look great just how I wanted them to be but the 3 boxes when you resize the browser they just go out of the screen.</p>