css background half one color the other half another color

Solutions on MaxInterview for css background half one color the other half another color by the best coders in the world

showing results for - "css background half one color the other half another color"
Kaylie
11 Nov 2018
1 div{
2    	width:400px;
3    	height:350px;
4    	background: linear-gradient(to right, blue 50%, yellow 50%);
5    }