rounded-ss: Tailwind CSS Border Radius class

The rounded-ss class in Tailwind CSS applies a border-radius to the start-start corner of an element.


rounded-ss

The rounded-ss class in Tailwind CSS applies a border-radius to the start-start corner of an element. In left-to-right (LTR) layouts, this targets the top-left corner, while in right-to-left (RTL) layouts, it targets the top-right corner. It respects logical (writing direction–aware) corner styling.

Syntax

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

Example Code

html
<div class="bg-green-500 text-white p-4 rounded-ss shadow-md">
Rounded start-start corner
</div>

Preview

Rounded start-start corner

In LTR layouts, this adds rounding to the top-left corner. Useful in components like cards, chat bubbles, or menus.

How to Use

Add the rounded-ss class directly to your HTML element:

html
<div class="rounded-ss">
<!-- Your content here -->
</div>

Responsive Usage

Use Tailwind's responsive prefixes to apply rounded-ss at specific breakpoints:

html
<div class="sm:rounded-ss md:rounded-ss lg:rounded-ss">
Responsive element
</div>
  • sm:rounded-ss — applies from 640px and up
  • md:rounded-ss — applies from 768px and up
  • lg:rounded-ss — applies from 1024px and up

Customization

You 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

Start building stunning web UIs & websites!

Build from scratch or select prebuilt tailwind templates