Gradients
Learn how to use gradient utilities for the background.
We'll cover the following...
Background as a gradient
Tailwind also lets us set the background as a gradient, which requires us to specify multiple classes on the same element. This is the first time we have seen a case where we need multiple Tailwind classes to get something to work right. We’ll see this pattern more frequently as we look at page layout options in the next chapter.
In pure CSS, we specify a gradient by assigning the background-image
property a value from a ...