nav {
display: flex;
align-items: flex-end;
justify-content: flex-end;
}
nav a {
padding: .4rem;
}
.logo {
justify-self: start;
display: block;
}
<nav>
<a href="/" class="logo"><img src="/static/logo.svg" alt="PurelyGigs" /></a>
<a href="/gigs">Gigs</a>
<a href="/login">Login</a>
<a href="/register">Signup</a>
</nav>
I'm trying to align the logo only to the left and the other three nav items to the right using flex-box...without having to use a wrapper