Simple Analytics

to-current

The class to-current is a Tailwind CSS class, part of the gradient color stops classes in the category backgrounds.

Example usage

The following code is an example on how to use the class to-current.

The above code produces the following result:

Resulting CSS

--tw-gradient-to: currentColor var(--tw-gradient-to-position);

Get Tailscan now

The absolute must-have tool for anyone using Tailwind CSS.

Build, design and debug your Tailwind website visually with Tailscan, right within the browser.

Get Tailscan now
video poster