background half color 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 background half one color the other half another color
div{
width:400px;
height:350px;
background: linear-gradient(to right, blue 50%, yellow 50%);
}