I want all of the div/anchors to be touching. I have tried m-0
mx-0
and space-x-0
on both the div and the anchor and it will not close the gap. I know there are other display types to use but this seems like it should smush (technical term) together.
<script src="https://cdn.tailwindcss.com"></script>
<nav>
<div class="h-11 inline-block m-0 text-lg slate-50 bg-slate-500 hover:text-slate-50 hover:bg-slate-800">
<a href="#" class="p-4">Feed</a>
</div>
<div class="h-11 inline-block m-0 text-lg slate-50 bg-slate-500 hover:text-slate-50 hover:bg-slate-800">
<a href="#" class="p-4">Posts</a>
</div>
<div class="h-11 inline-block m-0 text-lg slate-50 bg-slate-500 hover:text-slate-50 hover:bg-slate-800">
<a href="#" class="p-4">Create</a>
</div>
<div class="h-11 inline-block m-0 text-lg slate-50 bg-slate-500 hover:text-slate-50 hover:bg-slate-800">
<a href="#" class="p-4">Profile</a>
</div>
</nav>