Sets border-width on all sides via --border-w. Raw value, include unit (e.g. 2px).
CSS Rules
.border-w { border-width: var(--border-w);}
Usage
The .border-w
class is flagged as a value-driven selector.
The variable --border-w is required.
<element class="border-w" style="--border-w: /* value */;" />
Responsive
Prefix
.border-w
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:border-w" style="--md-border-w: /* value */;" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
<element class="content-before border-w::before" style="--border-w-before: /* value */;" /><element class="content-after border-w::after" style="--border-w-after: /* value */;" />
Shorthand
Value-driven classes support a shorthand syntax like bg=pink or p=4. The runtime
processes this for you. Unlike :hover that is
generating CSS on the fly, shorthand only splits it
and appends the corresponding style.
The .border-t-w
class is flagged as a value-driven selector.
The variable --border-t-w is required.
<element class="border-t-w" style="--border-t-w: /* value */;" />
Responsive
Prefix
.border-t-w
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:border-t-w" style="--md-border-t-w: /* value */;" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
<element class="content-before border-t-w::before" style="--border-t-w-before: /* value */;" /><element class="content-after border-t-w::after" style="--border-t-w-after: /* value */;" />
Shorthand
Value-driven classes support a shorthand syntax like bg=pink or p=4. The runtime
processes this for you. Unlike :hover that is
generating CSS on the fly, shorthand only splits it
and appends the corresponding style.
The .border-r-w
class is flagged as a value-driven selector.
The variable --border-r-w is required.
<element class="border-r-w" style="--border-r-w: /* value */;" />
Responsive
Prefix
.border-r-w
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:border-r-w" style="--md-border-r-w: /* value */;" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
<element class="content-before border-r-w::before" style="--border-r-w-before: /* value */;" /><element class="content-after border-r-w::after" style="--border-r-w-after: /* value */;" />
Shorthand
Value-driven classes support a shorthand syntax like bg=pink or p=4. The runtime
processes this for you. Unlike :hover that is
generating CSS on the fly, shorthand only splits it
and appends the corresponding style.
The .border-b-w
class is flagged as a value-driven selector.
The variable --border-b-w is required.
<element class="border-b-w" style="--border-b-w: /* value */;" />
Responsive
Prefix
.border-b-w
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:border-b-w" style="--md-border-b-w: /* value */;" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
<element class="content-before border-b-w::before" style="--border-b-w-before: /* value */;" /><element class="content-after border-b-w::after" style="--border-b-w-after: /* value */;" />
Shorthand
Value-driven classes support a shorthand syntax like bg=pink or p=4. The runtime
processes this for you. Unlike :hover that is
generating CSS on the fly, shorthand only splits it
and appends the corresponding style.
The .border-l-w
class is flagged as a value-driven selector.
The variable --border-l-w is required.
<element class="border-l-w" style="--border-l-w: /* value */;" />
Responsive
Prefix
.border-l-w
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:border-l-w" style="--md-border-l-w: /* value */;" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
<element class="content-before border-l-w::before" style="--border-l-w-before: /* value */;" /><element class="content-after border-l-w::after" style="--border-l-w-after: /* value */;" />
Shorthand
Value-driven classes support a shorthand syntax like bg=pink or p=4. The runtime
processes this for you. Unlike :hover that is
generating CSS on the fly, shorthand only splits it
and appends the corresponding style.
The .border-s-w
class is flagged as a value-driven selector.
The variable --border-s-w is required.
<element class="border-s-w" style="--border-s-w: /* value */;" />
Responsive
Prefix
.border-s-w
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:border-s-w" style="--md-border-s-w: /* value */;" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
<element class="content-before border-s-w::before" style="--border-s-w-before: /* value */;" /><element class="content-after border-s-w::after" style="--border-s-w-after: /* value */;" />
Shorthand
Value-driven classes support a shorthand syntax like bg=pink or p=4. The runtime
processes this for you. Unlike :hover that is
generating CSS on the fly, shorthand only splits it
and appends the corresponding style.
The .border-e-w
class is flagged as a value-driven selector.
The variable --border-e-w is required.
<element class="border-e-w" style="--border-e-w: /* value */;" />
Responsive
Prefix
.border-e-w
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:border-e-w" style="--md-border-e-w: /* value */;" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
<element class="content-before border-e-w::before" style="--border-e-w-before: /* value */;" /><element class="content-after border-e-w::after" style="--border-e-w-after: /* value */;" />
Shorthand
Value-driven classes support a shorthand syntax like bg=pink or p=4. The runtime
processes this for you. Unlike :hover that is
generating CSS on the fly, shorthand only splits it
and appends the corresponding style.
The .border-x-w
class is flagged as a value-driven selector.
The variable --border-x-w is required.
<element class="border-x-w" style="--border-x-w: /* value */;" />
Responsive
Prefix
.border-x-w
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:border-x-w" style="--md-border-x-w: /* value */;" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
<element class="content-before border-x-w::before" style="--border-x-w-before: /* value */;" /><element class="content-after border-x-w::after" style="--border-x-w-after: /* value */;" />
Shorthand
Value-driven classes support a shorthand syntax like bg=pink or p=4. The runtime
processes this for you. Unlike :hover that is
generating CSS on the fly, shorthand only splits it
and appends the corresponding style.
The .border-y-w
class is flagged as a value-driven selector.
The variable --border-y-w is required.
<element class="border-y-w" style="--border-y-w: /* value */;" />
Responsive
Prefix
.border-y-w
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:border-y-w" style="--md-border-y-w: /* value */;" />
States
States are generated dynamically at runtime and always
come last. Append a state like :hover or
:focus to the end of the
class. This works in conjunction with breakpoints
.
The ::before and ::after utility classes
are supported too. Granted that you add the mandatory content-before or content-after class in
order for them to work.
<element class="content-before border-y-w::before" style="--border-y-w-before: /* value */;" /><element class="content-after border-y-w::after" style="--border-y-w-after: /* value */;" />
Shorthand
Value-driven classes support a shorthand syntax like bg=pink or p=4. The runtime
processes this for you. Unlike :hover that is
generating CSS on the fly, shorthand only splits it
and appends the corresponding style.