how to se linear gradient in css

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

Also in CSS: