Border Width
Controls the width of the borders of an element.
Widely available
This feature is well established and works across many devices and browser versions.
bw-0border-width: 0px;bw-1border-width: 1px;bw-2border-width: 2px;bw-3border-width: 3px;bw-4border-width: 4px;bw-5border-width: 5px;bw-6border-width: 6px;bw-7border-width: 7px;bw-8border-width: 8px;<div class="d-g g-16 gtc-1 sm:gtc-3"> <div class="ai-c bw-1 bc-indigo bs-s d-f d-16 jc-c c-indigo">A</div> <div class="ai-c bw-2 bc-indigo bs-s d-f d-16 jc-c c-indigo">B</div> <div class="ai-c bw-3 bc-indigo bs-s d-f d-16 jc-c c-indigo">C</div></div>Border Top Width
Controls the width of the top border of an element.
Widely available
This feature is well established and works across many devices and browser versions.
btw-0border-top-width: 0px;btw-1border-top-width: 1px;btw-2border-top-width: 2px;btw-3border-top-width: 3px;btw-4border-top-width: 4px;btw-5border-top-width: 5px;btw-6border-top-width: 6px;btw-7border-top-width: 7px;btw-8border-top-width: 8px; <div class="d-g g-16 gtc-1 sm:gtc-3"> <div class="ai-c btw-1 bc-indigo bs-s d-f d-16 jc-c c-indigo">A</div> <div class="ai-c btw-2 bc-indigo bs-s d-f d-16 jc-c c-indigo">B</div> <div class="ai-c btw-3 bc-indigo bs-s d-f d-16 jc-c c-indigo">C</div> </div>Border Right Width
Controls the width of the right border of an element.
Widely available
This feature is well established and works across many devices and browser versions.
brw-0border-right-width: 0px;brw-1border-right-width: 1px;brw-2border-right-width: 2px;brw-3border-right-width: 3px;brw-4border-right-width: 4px;brw-5border-right-width: 5px;brw-6border-right-width: 6px;brw-7border-right-width: 7px;brw-8border-right-width: 8px; <div class="d-g g-16 gtc-1 sm:gtc-3"> <div class="ai-c brw-1 bc-indigo bs-s d-f d-16 jc-c c-indigo">A</div> <div class="ai-c brw-2 bc-indigo bs-s d-f d-16 jc-c c-indigo">B</div> <div class="ai-c brw-3 bc-indigo bs-s d-f d-16 jc-c c-indigo">C</div> </div>Border Bottom Width
Controls the width of the bottom border of an element.
Widely available
This feature is well established and works across many devices and browser versions.
bbw-0border-bottom-width: 0px;bbw-1border-bottom-width: 1px;bbw-2border-bottom-width: 2px;bbw-3border-bottom-width: 3px;bbw-4border-bottom-width: 4px;bbw-5border-bottom-width: 5px;bbw-6border-bottom-width: 6px;bbw-7border-bottom-width: 7px;bbw-8border-bottom-width: 8px; <div class="d-g g-16 gtc-1 sm:gtc-3"> <div class="ai-c bbw-1 bc-indigo bs-s d-f d-16 jc-c c-indigo">A</div> <div class="ai-c bbw-2 bc-indigo bs-s d-f d-16 jc-c c-indigo">B</div> <div class="ai-c bbw-3 bc-indigo bs-s d-f d-16 jc-c c-indigo">C</div> </div>Border Left Width
Controls the width of the left border of an element.
Widely available
This feature is well established and works across many devices and browser versions.
blw-0border-left-width: 0px;blw-1border-left-width: 1px;blw-2border-left-width: 2px;blw-3border-left-width: 3px;blw-4border-left-width: 4px;blw-5border-left-width: 5px;blw-6border-left-width: 6px;blw-7border-left-width: 7px;blw-8border-left-width: 8px; <div class="d-g g-16 gtc-1 sm:gtc-3"> <div class="ai-c blw-1 bc-indigo bs-s d-f d-16 jc-c c-indigo">A</div> <div class="ai-c blw-2 bc-indigo bs-s d-f d-16 jc-c c-indigo">B</div> <div class="ai-c blw-3 bc-indigo bs-s d-f d-16 jc-c c-indigo">C</div> </div>Using utility variants
Learn how to override existing utilities based on the user's screen size or other factors, such as hover states.
Responsive design
Target different screen sizes by adding breakpoint prefixes. Styles apply from the specified breakpoint and up.
Target specific viewport sizes with breakpoint prefixes
sm:b-[value]md:b-[value]lg:b-[value]xxl:b-[value]Hover state variant
Apply styles conditionally when users hover over an element using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
h:b-[value]