linear gradient css 3 colors code example
Example 1: linear-gradient
background: linear-gradient(to left, #333, #333 50%, #eee 100%);
Example 2: css horizontal gradient background color
.foo {
background-image: linear-gradient(red, blue);
}
background: linear-gradient(to left, #333, #333 50%, #eee 100%);
.foo {
background-image: linear-gradient(red, blue);
}