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

btrr-0
border-top-right-radius: 0;
btrr-xs
border-top-right-radius: 0.125rem;
btrr-sm
border-top-right-radius: 0.25rem;
btrr-md
border-top-right-radius: 0.375rem;
btrr-lg
border-top-right-radius: 0.5rem;
btrr-xl
border-top-right-radius: 0.75rem;
btrr-xxl
border-top-right-radius: 1rem;
btrr-3xl
border-top-right-radius: 1.5rem;
btrr-full
border-top-right-radius: 100%;
btrr-half
border-top-right-radius: 50%;
btrr-pill
border-top-right-radius: 9999px;
btrr-px
border-top-right-radius: 1px;

Responsiveness

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

Target viewport sizes with breakpoint prefixes.

sm:btrr-(value)
Small640px
md:btrr-(value)
Medium768px
lg:btrr-(value)
Large1024px
xxl:btrr-(value)
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-(value)

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

bser-0
border-start-end-radius: 0;
bser-xs
border-start-end-radius: 0.125rem;
bser-sm
border-start-end-radius: 0.25rem;
bser-md
border-start-end-radius: 0.375rem;
bser-lg
border-start-end-radius: 0.5rem;
bser-xl
border-start-end-radius: 0.75rem;
bser-xxl
border-start-end-radius: 1rem;
bser-3xl
border-start-end-radius: 1.5rem;
bser-full
border-start-end-radius: 100%;
bser-half
border-start-end-radius: 50%;
bser-pill
border-start-end-radius: 9999px;
bser-px
border-start-end-radius: 1px;