0
I am developing a web application ,and would like my icons i class="fa fa-user"
and i class="fa fa-shopping-cart"
stood side by side and wanted to be a circle around each one but I’m not getting.
<div class="col-6 col-md-4">
<ul class="menu_2">
<div class="user"><li><i class="fa fa-user"></i> Entre/Cadastre-se<i class="fa fa-angle-down"></i></li></div>
<div class="carrinho"> <li><i class="fa fa-shopping-cart">Carrinho</i></li></div>
</ul>
</div>
.menu_2{
padding: 10px;
font-size: 10pt;
margin-top: 40px;
}
.user{
margin-right: 30px;
font-size: 13pt;
border-radius: 1px solid ;
}
.carrinho{
margin-left: 240px;
}
Look at the icons
Ahh, I forgot, writing html should be interesting to always pay attention to the semantics of html, so I removed the div involving the li, and the class you put directly in the li if you need to do something with it
– Eduardo Santos