1
I’m using bootstrap and this is my css:
.painel-altura{
height: 540px;
}
@media (min-width: 630px) {
}
I would like to cancel this height and leave it the size before 540px. I’m trying to use @media but I don’t know how to do it! Within each img tag is associated an image, with exactly 252 X 252 .
<div class="row slideanim">
<div class="col-sm-6 col-xs-12">
<div class="panel panel-default text-center painel-altura">
<div class="panel-heading bg-cor-panel-blue">
<h1>Recicle....</h1>
</div>
<div class="panel-body">
<img src="../img/icones/recycled.png" class="img-responsive centralizar">
</div>
<div class="panel-footer">
<p><strong>xxxx xxxxx xxxxxxxx x x xxxx xxxx xxxxxxxxxxxx xxxxx xxxxx xxx xxx</strong></p>
</div>
</div>
</div>
<div class="col-sm-6 col-xs-12">
<div class="panel panel-default text-center">
<div class="panel-heading bg-cor-panel-blue">
<h1>Substitua o alumínio</h1>
</div>
<div class="panel-body">
<img src="../img/icones/container.png" class="img-responsive centralizar">
</div>
<div class="panel-footer">
<p><strong>xxxx xxxxx xxxxxxxx x x xxxx xxxx xxxxxxxxxxxx xxxxx xxxxx xxx xxx
xxxx xxxxx xxxxxxxx x x xxxx xxxx xxxxxxxxxxxx xxxxx xxxxx xxx xxxx
xxxx xxxxx xxxxxxxx x x xxxx xxxx xxxxxxxxxxxx xxxxx xxxxx xxx xxx
xxxx xxxxx xxxxxxxx x x xxxx xxxx xxxxxxxxxxxx xxxxx xxxxx xxx xxx
xxxx xxxxx xxxxxxxx x x xxxx xxxx xxxxxxxxxxxx xxxxx xxxxx xxx xxx
</strong></p>
</div>
</div>
</div>
</div>
What size do you want her to get? And when you want her that size?
– Thiago Santos
@Thiagosantos I want it to look great when it’s being viewed on the desktop and back to normal when it’s being viewed on mobile!!
– Pena Pintada
I don’t understand, could you explain?
– Gilmar Santos