rounded-br-sm: Tailwind CSS Border Radius class

The rounded-br-sm class in Tailwind CSS applies a small (sm) border-radius to the bottom-right corner of an element.


rounded-br-sm

The rounded-br-sm class in Tailwind CSS applies a small (sm) border-radius to the bottom-right corner of an element. It’s useful when you want subtle rounding only on that specific corner, creating softer visual edges without fully rounding all corners.

Syntax

html
<div class="rounded-br-sm">...</div>

Example Code

html
<div class="bg-blue-500 text-white p-4 rounded-br-sm">
This box has a small bottom-right corner radius.
</div>

Preview

Small Rounded Bottom-Right Corner

This box has a small bottom-right corner radius.

How to Use

Add the rounded-br-sm class directly to your HTML element:

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

Responsive Usage

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

html
<div class="sm:rounded-br-sm md:rounded-br-sm lg:rounded-br-sm">
Responsive element
</div>
  • sm:rounded-br-sm — applies from 640px and up
  • md:rounded-br-sm — applies from 768px and up
  • lg:rounded-br-sm — 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