I'm having a hard time aligning a responsive Bootstrap image.
My image is with the class ( .img-responsive
) properly applied and inserted inside a row
and a div
with class .col-md-12
.
When I apply the class .img-responsive
, the class .text-center
ceases to take effect and the image is aligned to the left.
Can someone help me? Thanks in advance.
<div class="container">
<div class="row">
<div class=" col-md-12 text-center">
<img class="img-responsive" src="img/quadro-picnic.png" alt="Imagem"/>
</div>
</div>
</div>