This is an excerpt from Manning's book CSS in Depth. Login to get full access to this book.
Listing 11.4. Linear gradient with multiple color stops .fade { height: 200px; width: 400px; background-image: linear-gradient(90deg, red, white, blue); 1 }