1
Good afternoon, everyone!
I’m looking to line up a list ul
so that their li
stay left and last li
stay right. I’m not able to do this, someone could help me.
I could make it easier if I split this li
of that ul
but I wanted to keep it together.
I tried to put Justify-self directly into the last too but it did not give I tried as follows below and it didn’t work:
HTML
<ul class="lista-menu">
<a><li class="funcionarios">Funcionários</li></a>
<a href="clientes.html"><li class="clientes">Clientes</li></a>
<a href="produtos.html"><li class="produtos">Produtos</li></a>
<a href="servicos.html"><li class="servicos">Serviços</li></a>
<a><li class="financeiro">Financeiro</li></a>
</ul>
CSS
.lista-menu {
display: flex;
justify-content: flex-start;
width: 100%;
border: 1px solid black;
}
.financeiro {
justify-self: flex-end;
}