How are the gradients applied ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How are the gradients applied ?

1st Dec 2016, 5:46 AM
Martin Munyua
Martin Munyua - avatar
6 Answers
0
this may help you background: linear-gradient(direction, color-stop1, color-stop2, ...);
1st Dec 2016, 11:25 AM
imran ali
imran ali - avatar
0
in this code you set gradient type in first property and then set direction like top bottom left right and then your two or more colours name hope you got it
1st Dec 2016, 11:29 AM
imran ali
imran ali - avatar
0
in this code you set gradient type in first property and then set direction like top bottom left right and then your two or more colours name hope you got it
1st Dec 2016, 11:29 AM
imran ali
imran ali - avatar
0
yes, i got it thank you
2nd Dec 2016, 4:44 AM
Martin Munyua
Martin Munyua - avatar
0
example please
17th Dec 2016, 10:33 PM
Cele Prince
Cele Prince - avatar
0
background: linear-gradient(left,right, pink, white);
18th Dec 2016, 7:35 AM
imran ali
imran ali - avatar