Check out our free templates made with AI and polished to perfection in Windframe

Get now

rounded-tr-md: Tailwind CSS Border Radius class

The rounded-tr-md class in Tailwind CSS applies a medium border radius to the top-right corner of an element.


rounded-tr-md

The rounded-tr-md class in Tailwind CSS applies a medium border radius to the top-right corner of an element. This gives a slightly more noticeable curve than the default size and is great for refining the visual style of cards, modals, or input fields.

Syntax

html
<div class="rounded-tr-md">...</div>

Example Code

html
<div class="bg-lime-600 text-white font-semibold p-4 border rounded-tr-md shadow">
Top-right corner has a medium curve
</div>

Preview

Top-right corner has a medium curve

Use rounded-tr-md when you want a moderate rounding on just the top-right corner of an element. It offers a clean, subtle visual enhancement, especially in UI layouts with directional rounding.

Windframe is an AI visual editor for rapidly building stunning web UIs & websites

Start building stunning web UIs & websites! 

Build from scratch or select prebuilt tailwind templates