Answer the question
In order to leave comments, you need to log in
How to do it right (flexbox)?
<nav>
<a href="/" class="or">Logo</a>
<a href="#">Главная</a>
<a href="#">Portfolio</a>
<a href="#">ru</a>
<a href="#">en</a>
</nav>
body nav {
display: flex;
justify-content: flex-end;
}
body nav a.or {
align-self: flex-start;
color: rebeccapurple;
}
Answer the question
In order to leave comments, you need to log in
body nav a.or {
color: rebeccapurple;
flex-grow: 2;
}
www.internet-technologies.ru/articles/article_2097.html namely:
.item {
order: <integer>;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question