SeanC
0
Q:

css horizontal linear gradient

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

New to Communities?

Join the community