@tailwind base; @tailwind components; @tailwind utilities; .url { display: inline-block; position: relative; color: #000; } .url::after { content: ''; position: absolute; width: 100%; transform: scaleX(0); height: 2px; bottom: 0; left: 0; background-color: #000; transform-origin: bottom right; transition: transform 0.25s ease-out; } .url:hover::after { transform: scaleX(1); transform-origin: bottom left; }