Windframe
Build Tailwind UIs that actually look good!
.jpg)
The rounded-tr-md class in Tailwind CSS applies a medium border radius to the top-right corner of an element.
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.
<div class="rounded-tr-md">...</div><div class="bg-lime-600 text-white font-semibold p-4 border rounded-tr-md shadow"> Top-right corner has a medium curve</div>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.
Add the rounded-tr-md class directly to your HTML element:
<div class="rounded-tr-md"> <!-- Your content here --></div>Use Tailwind's responsive prefixes to apply rounded-tr-md at specific breakpoints:
<div class="sm:rounded-tr-md md:rounded-tr-md lg:rounded-tr-md"> Responsive element</div>sm:rounded-tr-md — applies from 640px and upmd:rounded-tr-md — applies from 768px and uplg:rounded-tr-md — applies from 1024px and upYou can extend or override this utility in your tailwind.config.js. See the Tailwind CSS documentation for details on customizing your theme.
Windframe is an AI visual editor for rapidly building stunning web UIs & websites
