Simple Analytics

via-inherit

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

The above code produces the following result:

Resulting CSS

--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), inherit var(--tw-gradient-via-position), var(--tw-gradient-to);

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!