background color 2 colors css code example
Example 1: how to give 2 different background color css
background: repeating-linear-gradient(#74ABDD, #74ABDD 49.9%, #498DCB 50.1%, #498DCB 100%);
Example 2: css horizontal gradient background color
.foo {
background-image: linear-gradient(red, blue);
}
Example 3: double color background css
background: linear-gradient(<angle>, color1 color1-stop-at, color2 color2-start-at);