The .border
class is flagged as a value-driven selector.
The variable --border is required.
<element class="border" style="--border: /* value */;" />
Responsive & Dark Mode
Prefix
.border
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border" style="--md-border: /* value */;" /><element class="dark:sm:border" style="--dark-sm-border: /* 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
and dark mode.
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::before" style="--border-before: /* value */;" /><element class="content-after border::after" style="--border-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.
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
z-not-ready
class in your <head>
tag.
.border
Sets border-color on all sides via --border.
border-t
Sets border-top-color via --border-t.
CSS Rules
.border-t { border-top-color: var(--border-t);}
Usage
The .border-t
class is flagged as a value-driven selector.
The variable --border-t is required.
<element class="border-t" style="--border-t: /* value */;" />
Responsive & Dark Mode
Prefix
.border-t
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-t" style="--md-border-t: /* value */;" /><element class="dark:sm:border-t" style="--dark-sm-border-t: /* 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
and dark mode.
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::before" style="--border-t-before: /* value */;" /><element class="content-after border-t::after" style="--border-t-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.
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
z-not-ready
class in your <head>
tag.
.border-t
Sets border-top-color via --border-t.
border-r
Sets border-right-color via --border-r.
CSS Rules
.border-r { border-right-color: var(--border-r);}
Usage
The .border-r
class is flagged as a value-driven selector.
The variable --border-r is required.
<element class="border-r" style="--border-r: /* value */;" />
Responsive & Dark Mode
Prefix
.border-r
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-r" style="--md-border-r: /* value */;" /><element class="dark:sm:border-r" style="--dark-sm-border-r: /* 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
and dark mode.
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::before" style="--border-r-before: /* value */;" /><element class="content-after border-r::after" style="--border-r-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
class is flagged as a value-driven selector.
The variable --border-b is required.
<element class="border-b" style="--border-b: /* value */;" />
Responsive & Dark Mode
Prefix
.border-b
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-b" style="--md-border-b: /* value */;" /><element class="dark:sm:border-b" style="--dark-sm-border-b: /* 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
and dark mode.
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::before" style="--border-b-before: /* value */;" /><element class="content-after border-b::after" style="--border-b-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.
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
z-not-ready
class in your <head>
tag.
.border-b
Sets border-bottom-color via --border-b.
border-l
Sets border-left-color via --border-l.
CSS Rules
.border-l { border-left-color: var(--border-l);}
Usage
The .border-l
class is flagged as a value-driven selector.
The variable --border-l is required.
<element class="border-l" style="--border-l: /* value */;" />
Responsive & Dark Mode
Prefix
.border-l
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-l" style="--md-border-l: /* value */;" /><element class="dark:sm:border-l" style="--dark-sm-border-l: /* 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
and dark mode.
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::before" style="--border-l-before: /* value */;" /><element class="content-after border-l::after" style="--border-l-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
class is flagged as a value-driven selector.
The variable --border-s is required.
<element class="border-s" style="--border-s: /* value */;" />
Responsive & Dark Mode
Prefix
.border-s
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-s" style="--md-border-s: /* value */;" /><element class="dark:sm:border-s" style="--dark-sm-border-s: /* 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
and dark mode.
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::before" style="--border-s-before: /* value */;" /><element class="content-after border-s::after" style="--border-s-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
class is flagged as a value-driven selector.
The variable --border-e is required.
<element class="border-e" style="--border-e: /* value */;" />
Responsive & Dark Mode
Prefix
.border-e
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-e" style="--md-border-e: /* value */;" /><element class="dark:sm:border-e" style="--dark-sm-border-e: /* 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
and dark mode.
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::before" style="--border-e-before: /* value */;" /><element class="content-after border-e::after" style="--border-e-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
class is flagged as a value-driven selector.
The variable --border-x is required.
<element class="border-x" style="--border-x: /* value */;" />
Responsive & Dark Mode
Prefix
.border-x
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-x" style="--md-border-x: /* value */;" /><element class="dark:sm:border-x" style="--dark-sm-border-x: /* 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
and dark mode.
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::before" style="--border-x-before: /* value */;" /><element class="content-after border-x::after" style="--border-x-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.
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
z-not-ready
class in your <head>
tag.
.border-x
Sets border-left-color and border-right-color via --border-x.
border-y
Sets border-top-color and border-bottom-color via --border-y.
CSS Rules
.border-y { border-block-color: var(--border-y);}
Usage
The .border-y
class is flagged as a value-driven selector.
The variable --border-y is required.
<element class="border-y" style="--border-y: /* value */;" />
Responsive & Dark Mode
Prefix
.border-y
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-y" style="--md-border-y: /* value */;" /><element class="dark:sm:border-y" style="--dark-sm-border-y: /* 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
and dark mode.
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::before" style="--border-y-before: /* value */;" /><element class="content-after border-y::after" style="--border-y-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/o
class is flagged as a value-driven selector.
The variables --border and --border-o are required.
<element class="border/o" style=" --border: /* value */; --border-o: /* value */; "></element>
Responsive & Dark Mode
Prefix
.border/o
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border/o" style=" --md-border: /* value */; --md-border-o: /* value */; "></element><element class="dark:sm:border/o" style=" --dark-sm-border: /* value */; --dark-sm-border-o: /* value */; "></element>
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
and dark mode.
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/o::before" style=" --border-before: /* value */; --border-o-before: /* value */; "></element><element class="content-after border/o::after" style=" --border-after: /* value */; --border-o-after: /* value */; "></element>
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/o
class is flagged as a value-driven selector.
The variables --border-t and --border-t-o are required.
<element class="border-t/o" style=" --border-t: /* value */; --border-t-o: /* value */; "></element>
Responsive & Dark Mode
Prefix
.border-t/o
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-t/o" style=" --md-border-t: /* value */; --md-border-t-o: /* value */; "></element><element class="dark:sm:border-t/o" style=" --dark-sm-border-t: /* value */; --dark-sm-border-t-o: /* value */; "></element>
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
and dark mode.
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/o::before" style=" --border-t-before: /* value */; --border-t-o-before: /* value */; "></element><element class="content-after border-t/o::after" style=" --border-t-after: /* value */; --border-t-o-after: /* value */; "></element>
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/o
class is flagged as a value-driven selector.
The variables --border-r and --border-r-o are required.
<element class="border-r/o" style=" --border-r: /* value */; --border-r-o: /* value */; "></element>
Responsive & Dark Mode
Prefix
.border-r/o
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-r/o" style=" --md-border-r: /* value */; --md-border-r-o: /* value */; "></element><element class="dark:sm:border-r/o" style=" --dark-sm-border-r: /* value */; --dark-sm-border-r-o: /* value */; "></element>
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
and dark mode.
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/o::before" style=" --border-r-before: /* value */; --border-r-o-before: /* value */; "></element><element class="content-after border-r/o::after" style=" --border-r-after: /* value */; --border-r-o-after: /* value */; "></element>
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/o
class is flagged as a value-driven selector.
The variables --border-b and --border-b-o are required.
<element class="border-b/o" style=" --border-b: /* value */; --border-b-o: /* value */; "></element>
Responsive & Dark Mode
Prefix
.border-b/o
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-b/o" style=" --md-border-b: /* value */; --md-border-b-o: /* value */; "></element><element class="dark:sm:border-b/o" style=" --dark-sm-border-b: /* value */; --dark-sm-border-b-o: /* value */; "></element>
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
and dark mode.
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/o::before" style=" --border-b-before: /* value */; --border-b-o-before: /* value */; "></element><element class="content-after border-b/o::after" style=" --border-b-after: /* value */; --border-b-o-after: /* value */; "></element>
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/o
class is flagged as a value-driven selector.
The variables --border-l and --border-l-o are required.
<element class="border-l/o" style=" --border-l: /* value */; --border-l-o: /* value */; "></element>
Responsive & Dark Mode
Prefix
.border-l/o
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-l/o" style=" --md-border-l: /* value */; --md-border-l-o: /* value */; "></element><element class="dark:sm:border-l/o" style=" --dark-sm-border-l: /* value */; --dark-sm-border-l-o: /* value */; "></element>
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
and dark mode.
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/o::before" style=" --border-l-before: /* value */; --border-l-o-before: /* value */; "></element><element class="content-after border-l/o::after" style=" --border-l-after: /* value */; --border-l-o-after: /* value */; "></element>
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/o
class is flagged as a value-driven selector.
The variables --border-s and --border-s-o are required.
<element class="border-s/o" style=" --border-s: /* value */; --border-s-o: /* value */; "></element>
Responsive & Dark Mode
Prefix
.border-s/o
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-s/o" style=" --md-border-s: /* value */; --md-border-s-o: /* value */; "></element><element class="dark:sm:border-s/o" style=" --dark-sm-border-s: /* value */; --dark-sm-border-s-o: /* value */; "></element>
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
and dark mode.
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/o::before" style=" --border-s-before: /* value */; --border-s-o-before: /* value */; "></element><element class="content-after border-s/o::after" style=" --border-s-after: /* value */; --border-s-o-after: /* value */; "></element>
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/o
class is flagged as a value-driven selector.
The variables --border-e and --border-e-o are required.
<element class="border-e/o" style=" --border-e: /* value */; --border-e-o: /* value */; "></element>
Responsive & Dark Mode
Prefix
.border-e/o
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-e/o" style=" --md-border-e: /* value */; --md-border-e-o: /* value */; "></element><element class="dark:sm:border-e/o" style=" --dark-sm-border-e: /* value */; --dark-sm-border-e-o: /* value */; "></element>
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
and dark mode.
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/o::before" style=" --border-e-before: /* value */; --border-e-o-before: /* value */; "></element><element class="content-after border-e/o::after" style=" --border-e-after: /* value */; --border-e-o-after: /* value */; "></element>
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/o
class is flagged as a value-driven selector.
The variables --border-x and --border-x-o are required.
<element class="border-x/o" style=" --border-x: /* value */; --border-x-o: /* value */; "></element>
Responsive & Dark Mode
Prefix
.border-x/o
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-x/o" style=" --md-border-x: /* value */; --md-border-x-o: /* value */; "></element><element class="dark:sm:border-x/o" style=" --dark-sm-border-x: /* value */; --dark-sm-border-x-o: /* value */; "></element>
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
and dark mode.
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/o::before" style=" --border-x-before: /* value */; --border-x-o-before: /* value */; "></element><element class="content-after border-x/o::after" style=" --border-x-after: /* value */; --border-x-o-after: /* value */; "></element>
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/o
class is flagged as a value-driven selector.
The variables --border-y and --border-y-o are required.
<element class="border-y/o" style=" --border-y: /* value */; --border-y-o: /* value */; "></element>
Responsive & Dark Mode
Prefix
.border-y/o
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
If dark mode is applied, the dark: prefix always
comes first.
<element class="md:border-y/o" style=" --md-border-y: /* value */; --md-border-y-o: /* value */; "></element><element class="dark:sm:border-y/o" style=" --dark-sm-border-y: /* value */; --dark-sm-border-y-o: /* value */; "></element>
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
and dark mode.
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/o::before" style=" --border-y-before: /* value */; --border-y-o-before: /* value */; "></element><element class="content-after border-y/o::after" style=" --border-y-after: /* value */; --border-y-o-after: /* value */; "></element>
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.