from-green-500
The class from-green-500 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 from-green-500.
The above code produces the following result:
Resulting CSS
--tw-gradient-from: #22c55e var(--tw-gradient-from-position); --tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);