how to make a color fade in css code example Example: css horizontal linear gradient background: linear-gradient(to left, red, blue);