Give a Horizontal Border in Tailwind CSS

Published on Apr 04, 2022

Sometime we need a horizontal dash which one give extra focus on title bar. It's very easy in tailwindcss. Let's check it 👇

<hr class="my-2 border-t-4 border-pink-700 rounded-md w-20 mx-auto">
CSS