I have a problem with my browser and it is that when I put it in the position I want (on the right side) it changes all the order that I have given it in the HTML. Is there any solution? I leave the code here and many thanks in advance.
HTML <nav class="menu">
<ul>
<!-- error, no tiene el mismo orden que aquí que en la web -->
<li><a href="#work">Work</a></li>
<li><a href="#about">About me</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
SCSS-CSS nav{
width: 100%;
float: left;
ul{
list-style: none;
padding: 25px;
li{
text-align: right;
a{
float: right;
font-family: Lato;
font-size: 16px;
color:$whit;
display: inline;
margin: 0 40px;
padding: 10px;
border: 2px solid;
width: 150px;
text-align: center;
a .work{
margin-left: 30px;
}
}
}
}
}
}