linear gradient css two colors code example
Example 1: css horizontal linear gradient
background: linear-gradient(to left, red, blue);
Example 2: css horizontal gradient background color
.foo {
background-image: linear-gradient(red, blue);
}
background: linear-gradient(to left, red, blue);
.foo {
background-image: linear-gradient(red, blue);
}