Module border_width

Module border_width 

Source
Expand description

Utilities for controlling the width of an element’s borders.

Class Properties
border-<integer>border-width: <integer>px;
borderborder-width: 1px;
border-x-<integer>border-inline-width: <integer>px;
border-xborder-inline-width: 1px;
border-y-<integer>border-block-width: <integer>px;
border-yborder-block-width: 1px;
border-s-<integer>border-inline-start-width: <integer>px;
border-sborder-inline-start-width: 1px;
border-e-<integer>border-inline-end-width: <integer>px;
border-eborder-inline-end-width: 1px;
border-t-<integer>border-top-width: <integer>px;
border-tborder-top-width: 1px;
border-r-<integer>border-right-width: <integer>px;
border-rborder-right-width: 1px;
border-b-<integer>border-bottom-width: <integer>px;
border-bborder-bottom-width: 1px;
border-l-<integer>border-left-width: <integer>px;
border-lborder-left-width: 1px;

§Tailwind compatibility

Border width values don’t follow Tailwind’s philosophy of limiting possible values and all numbers are supported. They are however perfectly compatible with Tailwind’s values.

§Arbitrary values

Any <length> or line width property is allowed as arbitrary value. For example, border-x-[1.2rem].

Tailwind reference