The from-black class belongs to the gradient color stops group within the backgrounds category.
Here is an example of how to use from-black:
<div class="bg-gradient-to-b via-purple-300 from-black to-orange-700 p-4 w-32 h-32 rounded-lg"></div>
--tw-gradient-from: #000 var(--tw-gradient-from-position); --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
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!