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

Get now

rounded-tl: Tailwind CSS Border Radius class

The rounded-tl class in Tailwind CSS applies a border-radius to the top-left corner of an element.


rounded-tl

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.

Syntax

html
<div class="rounded-tl">...</div>

Example Code

html
<div class="bg-blue-500 text-white font-semibold p-4 rounded-tl border">
Top-left corner is rounded
</div>

Preview

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.

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