HomeToolsAbout a20k

Utility

What is it

Utility applies style based on a condition defined.

In below example, background of 500-weight will be the default, but on hover, the background will change to 700-weight color

bg-sky-500 hover:bg-sky-700

Stacking Utilities

Utility stacks as combined conditional

dark:md:hover:bg-fuchsia-600
© VincentVanKoh