Simple Analytics

to-inherit

The class to-inherit 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-inherit.

The above code produces the following result:

Resulting CSS

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

Want to learn more about Tailwind CSS? Join the Tailscan email list!

Get Tailwind CSS and Tailscan news in your inbox every few weeks.

If you want to unsubscribe later, you can do so very easily, no hard feelings!