Border Bottom Width

Set the bottom border width 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 0.25 rem bottom border width to an element.

<div class="w-16 h-16 bc-indigo bs-s bbw-4"></div>

Responsiveness

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

Target viewport sizes with breakpoint prefixes.

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

Logical Properties

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

Border Block End Width

Set the logical block-end border width 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 bc-indigo bs-s bbew-4"></div>