Border Radius

Set the radius for element borders.

Widely available

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

Chrome
Edge
Firefox
Safari

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

Responsiveness

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

Target viewport sizes with breakpoint prefixes.

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

Negative Values

Use negative variants to apply negative border radius values.

Use the -- syntax to apply negative numeric values.

Syntax:br--(value)