Image Responsive HTML

Asked

Viewed 171 times

0

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

inserir a descrição da imagem aqui

1 answer

0

In bootstrap add to 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 in the image

Browser other questions tagged

You are not signed in. Login or sign up in order to post.