I have the following section, and I need the Divs to be centered horizontally in my Grid of Boostratp 3. It always stays on the Left side and I do not mind changing that.
<section id="servicos">
<div class="container">
<h5>Hospedagem</h5>
<div class="row">
<div class="col-sm-6" style="border: 1px solid red">
<div align="center" class="airbnb-embed-frame" data-id="16409839" data-view="home" style="width:100%;height:500px;"><a href="https://www.airbnb.com.br/rooms/16409839?s=51"><span>Ver no Airbnb</span></a><a href="https://www.airbnb.com.br/rooms/16409839?s=51" rel="nofollow">Flat com 28 m2 mobiliado com excelente localização</a><script async="" src="https://www.airbnb.com.br/embeddable/airbnb_jssdk"></script></div></div><divclass="col-sm-6" style="border: 1px solid red">
<div align="center" class="airbnb-embed-frame" data-id="16409839" data-view="home" style="width:100%;height:500px;"><a href="https://www.airbnb.com.br/rooms/16409839?s=51"><span>Ver no Airbnb</span></a><a href="https://www.airbnb.com.br/rooms/16409839?s=51" rel="nofollow">Flat com 28 m2 mobiliado com excelente localização</a><script async="" src="https://www.airbnb.com.br/embeddable/airbnb_jssdk"></script></div></div></div><divclass="mais-hospedagem" style="border: 1px solid red">
<button class="btn btn-custom btn-roxo btn-lg bt-destino mais-hospedagem"><b>mais hospedagens</b></button>
</div>
</div>
</div>
</section>
I try to use the following CSS:
.airbnb-embed-frame{
text-align: center;
color: white;
display: table-cell;
vertical-align: middle;
}