Border Top Radius

Set the top border radius for an element.

Usage

Apply a .5 rem radius to the top border of an element.

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

Responsiveness

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

Target viewport sizes with breakpoint prefixes.

sm:btr-*
Small640px
md:btr-*
Medium768px
lg:btr-*
Large1024px
xxl:btr-*
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:btr-*

Logical Properties

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

Border Block Start Radius

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

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