Please can anyone enlighten me on how to use linear gradient? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Please can anyone enlighten me on how to use linear gradient?

https://code.sololearn.com/WhEIU8tR4RhE/?ref=app

29th Jun 2019, 11:11 AM
Lucky victory
Lucky victory - avatar
2 Answers
+ 4
background:linear-gradient(#4acf40 0%, #25bafe 50%, #ff885e 100%); background:linear-gradient(#4acf40, #25bafe, #ff885e); background:linear-gradient(#4acf40 0%, #4acf40 33%, #25bafe 33%, #25bafe 66%, #ff885e 66%, #ff885e 100%); if your html has only a body and you want to apply a gradient to it, so the body style should look like this width: 100vw; height: 100vh; margin: 0;
29th Jun 2019, 11:51 AM
Joshua Green
Joshua Green - avatar
+ 1
Here’s a full tutorial on CSS Graidents including how to use the linear-gradient property: https://youtu.be/TYHFe4L9bfo
25th Oct 2019, 10:14 AM
Dev Dreamer - YouTube
Dev Dreamer - YouTube - avatar