tailwind margins by % code example
Example 1: tailwind margin
<div class="mt-8 md:my-8">
<!-- ... -->
</div>
Example 2: tailwind margin
<div class="w-32 h-16 bg-fuchsia-300 ..."></div>
<div class="-mt-8 bg-fuchsia-500 ...">-mt-8</div>
<div class="mt-8 md:my-8">
<!-- ... -->
</div>
<div class="w-32 h-16 bg-fuchsia-300 ..."></div>
<div class="-mt-8 bg-fuchsia-500 ...">-mt-8</div>