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 a drag and drop builder for rapidly building tailwind css websites and UIs

Start building stunning tailwind UIs! 

Build from scratch or select prebuilt tailwind templates