I need help rearranging my row of items displayed at the top of the page. I want one item to appear on the far right while the rest are aligned to the left. I attempted using align-self: flex-end
but it didn't work. Here's the current code snippet:
.wrapper {
display:flex;
justify-content:flex-start;
align-items:flex-start;
}
a.nav, .search, .query {
display:inline-block;
}
.nav {
margin-left:25px;
}
.nav a {
margin-right:15px;
color:#515949;
transition:0.3s ease;
}
.nav a:hover {
color:#33382d;
}
.link-right {
align-self:flex-end;
}
<div class="wrapper">
<div class="nav">
<a href="/" title="link"><span class="lnr lnr-arrow-left"></span></a>
<a href="/" title="link"><span class="lnr lnr-envelope"></span></a>
<a href="/" title="link"><span class="lnr lnr-link"></span></a>
<form class="search" action="javascript:return false">
<input type="text" class="query" placeholder="search..."></form>
</div>
<a href="/" class="link-right" title="link"><span class="lnr lnr-plus-circle"></span></a>
</div>
I'm specifically trying to move the link with the class link-right to the right side. Also, there is a search bar next to the links that needs to remain on the left. Any suggestions would be appreciated! Thank you.