css horizontal gradient background color

CSS
.element {
    background: linear-gradient(90deg, pink 50%, cyan 50%);
}.foo {
	background-image: linear-gradient(red, blue);
}.element {
    background: linear-gradient(pink 50%, cyan 50%);
}
Source

Also in CSS: