Border Top Left Radius

Set the top-left border radius for an element.

Widely available

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

Chrome
Edge
Firefox
Safari

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

Responsiveness

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

Target viewport sizes with breakpoint prefixes.

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

Logical Properties

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

Border Start Start Radius

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

Widely available

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

Chrome
Edge
Firefox
Safari

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