Can anyone tell me how to set linear gradient of an image. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone tell me how to set linear gradient of an image.

I'm using notepad. RGBA

7th Aug 2018, 6:47 AM
Steve
1 Answer
+ 4
If you wand to "fill" something, you should write in CSS: selector { background: linear-gradient(color1, color2,... colorN); } Also you can write % after colors, with it you can add "stop dot" for them.
7th Aug 2018, 6:55 AM
Ayhas
Ayhas - avatar