margin 0 auto tailwind code example
Example 1: tailwind margin
<div class="mt-8 md:my-8">
<!-- ... -->
</div>
Example 2: tailwind margin
<div class="mt-8 ...">mt-8</div>
<div class="mr-8 ...">mr-8</div>
<div class="mb-8 ...">mb-8</div>
<div class="ml-8 ...">ml-8</div>
Example 3: tailwind margin
<div class="my-8 ...">my-8</div>
Example 4: tailwind margin
<div class="w-32 h-16 bg-fuchsia-300 ..."></div>
<div class="-mt-8 bg-fuchsia-500 ...">-mt-8</div>
Example 5: tailwind margin
<div class="m-8 ...">m-8</div>