Struggling to center nav-content by using the center option
Hoping for it to have this appearance.
Unfortunately, applying it directly to the ul attribute doesn't yield desired results.
Instead, it ends up looking like this.
This is the code snippet I've been working with:
...
<div class="nav-content center" style="background-color: black">
<ul class="tabs tabs-transparent">
<li class="tab"><a href="">Test 1</a></li>
<li class="tab"><a href="">Test 2</a></li>
</ul>
</div>
</nav>
Possible solution:
It seems that mdubus' answer is on the right track. However, in order for it to be effective with Materialize, consider placing the adjustment within the ul element, rather than the div itself.