Border Top Right Radius

Set the top-right border radius for an element.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari

Usage

Apply a .5 rem radius to the top-right corner of an element.

<div class="w-16 h-16 bg-indigo btrr-2"></div>

Responsiveness

Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.

Target viewport sizes with breakpoint prefixes.

sm:btrr-*
Small640px
md:btrr-*
Medium768px
lg:btrr-*
Large1024px
xxl:btrr-*
Extra Large1536px

Hover State

Apply styles conditionally on hover using the h: prefix.

Add the h: prefix to apply styles only when the user hovers over the element.

Syntax:h:btrr-*

Logical Properties

Use logical properties to adapt to the document's writing mode & direction.

Border Start End Radius

Set the logical start-end border radius for an element.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari

<div class="w-16 h-16 bg-indigo bser-2"></div>