background half color code example
Example: css background half one color the other half another color
div{
width:400px;
height:350px;
background: linear-gradient(to right, blue 50%, yellow 50%);
}
div{
width:400px;
height:350px;
background: linear-gradient(to right, blue 50%, yellow 50%);
}