Using a bootstrap slider, I inserted pictures into the slider. However, the pictures are not responsive. How can I make them responsive?
<div class="item">
<div class="carousel-caption">
<p>Kledingwinkel(Dronten)</p>
</div>
<img src="switch/2.jpg" alt="robot" width="300" height="200px" class="homeImg">
</div>
Even though there is nothing in the class "homeIMG," setting width to "300px" and height to "200px" does not work as well. The image remains the same size. What could I be doing wrong?