Give a Horizontal Border in Tailwind CSS

avatar
Published: Apr 06, 2022 - Updated: Apr 10, 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