Building out a navbar that will look something like this:
|----------------------------------------------------------|
| link Logo link link |
|----------------------------------------------------------|
My thought process for creating this layout is to have a html structure that looks like:
<nav>
<div></div>
<div>
link
logo
link
</div>
<div>
link
</div>
</nav>
and then with CSS, I would do something like:
display: grid;
grid-template-columns: 200px auto 200px;
...
My question here is: is there a better way to recreate this layout? I don't like how I use an empty div to create the space.
I know I can remove the empty div and put something like margin-left: 200px
on the 2nd div but that seems kinda hacky as well.
Appreciate the input.