css horizontal linear gradient

CSS
background: linear-gradient(to left, red, blue);.gradient {
	background-image: linear-gradient(angle, color1, color2) // angle: 90deg,  color1: red, color2:darkred
}.foo {
	background-image: linear-gradient(red, blue);
}.element {
    background: linear-gradient(90deg, pink 50%, cyan 50%);
}.element {
    background: linear-gradient(pink 50%, cyan 50%);
}
Source

Also in CSS: