Windframe
Build Tailwind UIs that actually look good!
.jpg)
The rounded-tl class in Tailwind CSS applies a border-radius to the top-left corner of an element.
The rounded-tl class in Tailwind CSS applies a border-radius to the top-left corner of an element. It’s handy when you want to round only one corner—commonly used in cards, buttons, modals, or tab designs.
<div class="rounded-tl">...</div><div class="bg-blue-500 text-white font-semibold p-4 rounded-tl border"> Top-left corner is rounded</div>Top-left corner is rounded
Use rounded-tl when you need to round just the top-left corner of an element. It's a precise and flexible utility for shaping UI elements without writing custom CSS.
Add the rounded-tl class directly to your HTML element:
<div class="rounded-tl"> <!-- Your content here --></div>Use Tailwind's responsive prefixes to apply rounded-tl at specific breakpoints:
<div class="sm:rounded-tl md:rounded-tl lg:rounded-tl"> Responsive element</div>sm:rounded-tl — applies from 640px and upmd:rounded-tl — applies from 768px and uplg:rounded-tl — 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
