4
I managed to round the edges of the div I’m just not able to align the text in front of the div.
My code is like this:
.boxEtapas {
overflow: hidden;
}
.etapas {
margin: 0 auto;
}
.etapas ul {
list-style: none;
}
.etapas ul,
li {
margin: 1px;
}
.redondo {
border-radius: 100%;
background-color: #FFFFFF;
overflow: hidden;
height: 50px;
width: 50px;
border: 1px solid #000000;
line-height: 1.0;
}
.redondoativo {
border-radius: 100%;
background-color: #337ab7;
overflow: hidden;
height: 50px;
width: 50px;
color: #FFFFFF;
text-align: center;
line-height: 1.0;
}
.textoEtapas {
float: left;
}
<div class="col-sm-6 boxEtapas" align="center">
<div class="etapas">
<ul>
<li>
<div class="redondoativo">
<br>1</div>
<div class="textoEtapas">Informações Cadastrais</div>
</li>
<li>|</li>
<li>
<div class="redondo">
<br>2</div>
<div class="textoEtapas">Selecionar Assinatura</div>
</li>
<li>|</li>
<li>
<div class="redondo">
<br>3</div>
<div class="textoEtapas">Forma de Pagamento</div>
</li>
</ul>
</div>
</div>
Put the CSS code you made in there for us to stay in.
– Diego Souza
Ready put.
– annyk
Ever tried to put
float: left;
in the classes.redondoativo
and.redondo
?– Bruno Romualdo
Just take the
<br>
before the number. Then putline-height: 50px
in place of 1.0– Diego Souza
I’ve put the floa left but it gets more messy Brunoromualdo
– annyk