Responsive HTML image

0

Someone can help me! I am not able to leave the images responsive via CSS and also in bootstrap. I'm using the banner-rotator-2.source with jquery, where I tried to define the class="img-responsive"; style="width: 100%"

    
asked by anonymous 23.07.2017 / 00:54

1 answer

0

In bootstrap add the class img-responsive

<img src="cinqueterre.jpg" class="img-responsive" alt="Cinque Terre" width="304" height="236"> 

This class will apply max-width: 100%, height: auto and display: block to the image

    
23.07.2017 / 01:02