I'm beginning to learn Tailwind CSS and am trying to implement the button below. It's a blank button that highlights its bottom border on hover.

However, scanning through the docs, I can't seem to be able to recreate the effects.
<script src="https://cdn.tailwindcss.com"></script>
<div class="flex items-center justify-center min-h-screen">
<button class="text-6xl font-bold transition duration-150 border-b-8 border-transparent hover:border-purple-500">
Button
</button>
</div>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With