to-gray-900

The to-gray-900 class belongs to the gradient color stops group within the backgrounds category.

Example Usage

Here is an example of how to use to-gray-900:

<div class="bg-gradient-to-b via-purple-300 from-yellow-500 to-gray-900 p-4 w-32 h-32 rounded-lg"></div>

Resulting CSS

--tw-gradient-to: #111827 var(--tw-gradient-to-position);

Other Gradient color stops Classes

Get Tailwind Scanner!

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

Scan, Edit, Export any tailwind site in browser to create the perfect UI - download the chrome extension!