w3schools gradient color css code example
Example 1: css horizontal linear gradient
background: linear-gradient(to left, red, blue);
Example 2: linear-gradient
background: linear-gradient(to left, #333, #333 50%, #eee 100%);
background: linear-gradient(to left, red, blue);
background: linear-gradient(to left, #333, #333 50%, #eee 100%);