The .shadow
class is flagged as a value-driven selector.
The variable --shadow is required.
<element class="shadow" style="--shadow: /* value */;" />
Responsive & Dark Mode
Prefix
.shadow
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:shadow" style="--md-shadow: /* value */;" /><element class="dark:sm:shadow" style="--dark-sm-shadow: /* 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 shadow::before" style="--shadow-before: /* value */;" /><element class="content-after shadow::after" style="--shadow-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 .shadow/o
class is flagged as a value-driven selector.
The variables --shadow and --shadow-o are required.
<element class="shadow/o" style=" --shadow: /* value */; --shadow-o: /* value */; "></element>
Responsive & Dark Mode
Prefix
.shadow/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:shadow/o" style=" --md-shadow: /* value */; --md-shadow-o: /* value */; "></element><element class="dark:sm:shadow/o" style=" --dark-sm-shadow: /* value */; --dark-sm-shadow-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 shadow/o::before" style=" --shadow-before: /* value */; --shadow-o-before: /* value */; "></element><element class="content-after shadow/o::after" style=" --shadow-after: /* value */; --shadow-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.
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
z-not-ready
class in your <head>
tag.
.shadow/o
Sets shadow color + opacity via --shadow and --shadow-o.
[shadow]
Applies raw --shadow directly to box-shadow. Supports dark mode.
CSS Rules
.\[shadow\] { box-shadow: var(--shadow);}
Usage
The .[shadow]
class is flagged as a value-driven selector.
The variable --shadow is required.
<element class="[shadow]" style="--shadow: /* value */;" />
Responsive & Dark Mode
Prefix
.[shadow]
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:[shadow]" style="--md-shadow: /* value */;" /><element class="dark:sm:[shadow]" style="--dark-sm-shadow: /* 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 [shadow]::before" style="--shadow-before: /* value */;" /><element class="content-after [shadow]::after" style="--shadow-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.
Prefix
.shadow-2xs
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:shadow-2xs" />
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.
Prefix
.shadow-xs
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:shadow-xs" />
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.
Prefix
.shadow-sm
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:shadow-sm" />
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.
Prefix
.shadow-md
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:shadow-md" />
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.
Prefix
.shadow-lg
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:shadow-lg" />
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.
.shadow-xl { --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);}
Usage
<element class="shadow-xl" />
Responsive
Prefix
.shadow-xl
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:shadow-xl" />
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.
Prefix
.shadow-none
utility with a breakpoint variant (e.g., md:) to apply styles at
specific screen sizes (Supported breakpoints are
xm through 2xl).
<element class="md:shadow-none" />
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.
The .ring
class is flagged as a value-driven selector.
The variable --ring is required.
<element class="ring" style="--ring: /* value */;" />
Responsive & Dark Mode
Prefix
.ring
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:ring" style="--md-ring: /* value */;" /><element class="dark:sm:ring" style="--dark-sm-ring: /* 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 ring::before" style="--ring-before: /* value */;" /><element class="content-after ring::after" style="--ring-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 .ring/o
class is flagged as a value-driven selector.
The variables --ring and --ring-o are required.
<element class="ring/o" style=" --ring: /* value */; --ring-o: /* value */; "></element>
Responsive & Dark Mode
Prefix
.ring/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:ring/o" style=" --md-ring: /* value */; --md-ring-o: /* value */; "></element><element class="dark:sm:ring/o" style=" --dark-sm-ring: /* value */; --dark-sm-ring-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 ring/o::before" style=" --ring-before: /* value */; --ring-o-before: /* value */; "></element><element class="content-after ring/o::after" style=" --ring-after: /* value */; --ring-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.
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
z-not-ready
class in your <head>
tag.
.ring/o
Sets ring color + opacity via --ring and --ring-o.
ring-w
Sets ring width via --ring-w. Raw value (e.g. 2px).
CSS Rules
.ring-w { --tw-ring-width: var(--ring-w);}
Usage
The .ring-w
class is flagged as a value-driven selector.
The variable --ring-w is required.
<element class="ring-w" style="--ring-w: /* value */;" />
Responsive
Prefix
.ring-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:ring-w" style="--md-ring-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 ring-w::before" style="--ring-w-before: /* value */;" /><element class="content-after ring-w::after" style="--ring-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 .inset-ring
class is flagged as a value-driven selector.
The variable --inset-ring is required.
<element class="inset-ring" style="--inset-ring: /* value */;" />
Responsive & Dark Mode
Prefix
.inset-ring
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:inset-ring" style="--md-inset-ring: /* value */;" /><element class="dark:sm:inset-ring" style="--dark-sm-inset-ring: /* 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 inset-ring::before" style="--inset-ring-before: /* value */;" /><element class="content-after inset-ring::after" style="--inset-ring-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 .inset-ring/o
class is flagged as a value-driven selector.
The variables --inset-ring and --inset-ring-o are required.
<element class="inset-ring/o" style=" --inset-ring: /* value */; --inset-ring-o: /* value */; "></element>
Responsive & Dark Mode
Prefix
.inset-ring/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:inset-ring/o" style=" --md-inset-ring: /* value */; --md-inset-ring-o: /* value */; "></element><element class="dark:sm:inset-ring/o" style=" --dark-sm-inset-ring: /* value */; --dark-sm-inset-ring-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 inset-ring/o::before" style=" --inset-ring-before: /* value */; --inset-ring-o-before: /* value */; "></element><element class="content-after inset-ring/o::after" style=" --inset-ring-after: /* value */; --inset-ring-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 .inset-ring-w
class is flagged as a value-driven selector.
The variable --inset-ring-w is required.
<element class="inset-ring-w" style="--inset-ring-w: /* value */;" />
Responsive
Prefix
.inset-ring-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:inset-ring-w" style="--md-inset-ring-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 inset-ring-w::before" style="--inset-ring-w-before: /* value */;" /><element class="content-after inset-ring-w::after" style="--inset-ring-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.