0
I’m developing a hotsite and I’m having problems with css.
How I always leave the button next to the text?
.divFixa{
font-family: 'Open Sans regular', sans-serif;
font-style: italic;
font-size: 11pt;
color: #4D4D4D;
background-color: #cccccc;
z-index: 99999999;
right: 0.5%;
margin-top: 35%;
position: fixed;
padding: 0.8%;
font-size: 9pt;
}
.divFixa a{
color: white;
font-size: 9pt;
}
.divFixa a:hover{
color: white;
}
.botaoFixo {
border-radius: 5px;
background-color: #ED1C24;
color: white;
transition: 0.5s;
font-family: 'Open Sans extrabold', sans-serif;
}
.botaoFixo:hover {
border-radius: 5px;
background-color: #c9040b;
color: white;
cursor: pointer;
}
<div class="divFixa">
<div style="text-align: left;">
Ligue de qualquer lugar do Brasil
</div>
<div style="text-align: right;">
<a class="btn botaoFixo btn-alert" href="tel:"> numero telefone </a>
</div>
<div style="margin-top: 2%;">
WhatsApp para qualquer lugar do Brasil
</div>
<div style="text-align: right;">
<a class="btn botaoFixo btn-alert" href="https://api.whatsapp.com/send?phone=">numero whatsapp </a>
</div>
Atendemos em mais de <b>150 cidades</b> dos estados de<br /><b>SP, RJ, MG, PR, PE, PO e no DF.</b>
</div>
You want something like this: https://i.stack.Imgur.com/kqkmS.png
– Sam